Struct fuse_backend_rs::api::filesystem::FileLock
source · pub struct FileLock {
pub start: u64,
pub end: u64,
pub lock_type: u32,
pub pid: u32,
}
Expand description
Represents a fuse lock
Fields§
§start: u64
Lock range start
end: u64
Lock range end, exclusive?
lock_type: u32
Lock type
pid: u32
thread id who owns the lock
Trait Implementations§
impl Copy for FileLock
Auto Trait Implementations§
impl Freeze for FileLock
impl RefUnwindSafe for FileLock
impl Send for FileLock
impl Sync for FileLock
impl Unpin for FileLock
impl UnwindSafe for FileLock
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)