Expand description
Async SMB message transport abstraction.
A Transport moves complete SMB frames (the bytes between NBSS
headers, i.e. starting at the \xFFSMB / \xFESMB magic) over some
network or in-memory channel. The server dispatch is written against this
trait so it can be exercised without real sockets.
Modules§
- mem
- In-memory transport for testing protocol layers without sockets.
- tcp
- NBSS-over-TCP transport ([RFC 1002] session service, direct hosting on
port 445), built on
tokio_uringfor zero-copy io_uring networking.
Structs§
- Frame
- One complete SMB frame received from the wire.
Enums§
- Transport
Error - Errors surfaced by transports.
Traits§
- Frame
Sink - Write half of a split
Transport. Owned by the per-connection writer task. - Frame
Source - Read half of a split
Transport. - Transport
- Abstract bidirectional frame transport.