pub struct Header {
pub command: u8,
pub status: Status,
pub flags: u8,
pub flags2: u16,
pub pid_high: u16,
pub tid: u16,
pub pid: u16,
pub uid: u16,
pub mid: u16,
}Expand description
The 32-byte SMB header shared by every message.
Fields§
§command: u8Command opcode.
status: StatusNT status (or DOS error packed into 4 bytes).
flags: u8Flags byte.
flags2: u16Flags2 word.
pid_high: u16High half of the multiplexed PID.
tid: u16Tree identifier.
pid: u16Process identifier (low half).
uid: u16User identifier.
mid: u16Multiplex identifier.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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