pub struct OplockHolder {
pub session_id: u64,
pub file_id: [u8; 16],
pub outbound: Sender<Vec<u8>>,
pub crypto: BreakCrypto,
}Expand description
A granted exclusive oplock and the means to break it.
Fields§
§session_id: u64Session that holds the oplock.
file_id: [u8; 16]File id the oplock is bound to (named in the break notification).
outbound: Sender<Vec<u8>>Outbound queue of the holder’s connection, to push the break.
crypto: BreakCryptoCrypto material to protect the break notification.
Auto Trait Implementations§
impl Freeze for OplockHolder
impl RefUnwindSafe for OplockHolder
impl Send for OplockHolder
impl Sync for OplockHolder
impl Unpin for OplockHolder
impl UnsafeUnpin for OplockHolder
impl UnwindSafe for OplockHolder
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