pub struct OplockBreakAck {
pub level: u8,
pub file_id: FileId,
}Expand description
Parsed OPLOCK_BREAK acknowledgement ([MS-SMB2] §2.2.24.1).
Fields§
§level: u8Level the client has broken to.
file_id: FileIdHandle being acknowledged.
Implementations§
Source§impl OplockBreakAck
impl OplockBreakAck
Sourcepub fn parse(frame: &[u8]) -> Option<OplockBreakAck>
pub fn parse(frame: &[u8]) -> Option<OplockBreakAck>
Parse from the complete frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OplockBreakAck
impl RefUnwindSafe for OplockBreakAck
impl Send for OplockBreakAck
impl Sync for OplockBreakAck
impl Unpin for OplockBreakAck
impl UnsafeUnpin for OplockBreakAck
impl UnwindSafe for OplockBreakAck
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