pub struct SmbResponse {
pub status: Status,
pub reply: ReplyHeader,
pub body: Vec<u8>,
}Expand description
A finished response: the status, the header it replies under, and the encoded body. Solicited, interim, and unsolicited replies all converge on this type.
Fields§
§status: StatusNT status of the reply.
reply: ReplyHeaderHeader this reply is framed with.
body: Vec<u8>Encoded response body (without the 64-byte SMB2 header).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SmbResponse
impl RefUnwindSafe for SmbResponse
impl Send for SmbResponse
impl Sync for SmbResponse
impl Unpin for SmbResponse
impl UnsafeUnpin for SmbResponse
impl UnwindSafe for SmbResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more