Expand description
Wire codecs and the response value: Decode (frame → typed request),
Encode (typed body → bytes), and the SmbResponse/ReplyHeader a handler
produces. Every response — solicited, interim, or unsolicited — is serialized
through one place so signing/sealing lives in a single site.
Structs§
- Reply
Header - The header fields a reply echoes or sets, captured when the context is built.
- Seal
Intent - Whether a response must be signed and/or sealed. Computed once at
acceptfrom the session/request so it is never threaded by hand. - SmbResponse
- A finished response: the status, the header it replies under, and the encoded body. Solicited, interim, and unsolicited replies all converge on this type.
Traits§
- Decode
- Decode one single-command SMB2 frame into a typed request. Implemented per
command; dispatched statically by
SmbRequest::parse. - Encode
- Serialize a typed response body against a reply header.