pub struct Header2 {
pub credit_charge: u16,
pub status: u32,
pub command: u16,
pub credits: u16,
pub flags: u32,
pub next_command: u32,
pub message_id: u64,
pub tree_id: u32,
pub session_id: u64,
pub signature: [u8; 16],
}Expand description
Fixed 64-byte SMB2 header (§2.2.1) — decoded view.
Fields§
§credit_charge: u16Credit charge (SMB3.1.1) / structure size.
status: u32Status.
command: u16Command code (§2.2.1.2).
credits: u16Credits granted by server.
flags: u32Header flags.
next_command: u32Next command chain offset (compounding).
message_id: u64Message identifier.
tree_id: u32Tree identifier (0 when not tree-bound).
session_id: u64Session identifier.
signature: [u8; 16]Signature / dedupe tag.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header2
impl RefUnwindSafe for Header2
impl Send for Header2
impl Sync for Header2
impl Unpin for Header2
impl UnsafeUnpin for Header2
impl UnwindSafe for Header2
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