pub struct LeaseBreakAck {
pub key: [u8; 16],
pub state: u32,
}Expand description
Parsed LEASE_BREAK acknowledgement ([MS-SMB2] §2.2.24.1), distinguished from an oplock-break ack by its StructureSize of 36.
Fields§
§key: [u8; 16]Lease key being acknowledged.
state: u32State the client has broken to.
Implementations§
Source§impl LeaseBreakAck
impl LeaseBreakAck
Sourcepub const STRUCTURE_SIZE: u16 = 36
pub const STRUCTURE_SIZE: u16 = 36
Fixed StructureSize of a LEASE_BREAK_ACK request ([MS-SMB2] §2.2.24.2).
Sourcepub fn parse(frame: &[u8]) -> Option<LeaseBreakAck>
pub fn parse(frame: &[u8]) -> Option<LeaseBreakAck>
Parse from the complete frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LeaseBreakAck
impl RefUnwindSafe for LeaseBreakAck
impl Send for LeaseBreakAck
impl Sync for LeaseBreakAck
impl Unpin for LeaseBreakAck
impl UnsafeUnpin for LeaseBreakAck
impl UnwindSafe for LeaseBreakAck
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