Skip to main content

Crate smb_server_transport

Crate smb_server_transport 

Source
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_uring for zero-copy io_uring networking.

Structs§

Frame
One complete SMB frame received from the wire.

Enums§

TransportError
Errors surfaced by transports.

Traits§

FrameSink
Write half of a split Transport. Owned by the per-connection writer task.
FrameSource
Read half of a split Transport.
Transport
Abstract bidirectional frame transport.