pub struct Request {
pub flags: u8,
pub security_mode: u16,
pub capabilities: u32,
pub prev_session_id: u64,
pub blob: Vec<u8>,
}Expand description
Parsed SESSION_SETUP request (§2.2.5.1).
Fields§
§flags: u8Session-setup flags; bit 0 is SMB2_SESSION_FLAG_BINDING.
security_mode: u16Security mode requested by client.
capabilities: u32Client capabilities word.
prev_session_id: u64Previous session id for reauthentication (usually 0).
blob: Vec<u8>SPNEGO/NTLMSSP token bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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