Skip to main content

Module decode

Module decode 

Source
Expand description

Decode adapters over the existing smb-server-proto-smb2 request parsers. Each is a thin, zero-copy bridge: the frame is borrowed and the parser’s None (malformed) becomes STATUS_INVALID_PARAMETER.

Macros§

decode_via_parse 🔒
Generate a Decode impl that adapts an existing Ty::parse(frame) -> Option<Ty>.