pub struct LockElem {
pub offset: u64,
pub length: u64,
pub shared: bool,
pub exclusive: bool,
pub unlock: bool,
pub fail_immediately: bool,
}Expand description
Lock vector entry (§2.2.26.1).
Fields§
§offset: u64Byte range start.
length: u64Byte range length.
Shared lock.
exclusive: boolExclusive lock.
unlock: boolUnlock operation.
fail_immediately: boolFail immediately instead of blocking.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LockElem
impl RefUnwindSafe for LockElem
impl Send for LockElem
impl Sync for LockElem
impl Unpin for LockElem
impl UnsafeUnpin for LockElem
impl UnwindSafe for LockElem
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