pub enum FileLockMode {
Exclusive,
Shared,
}
Expand description
An enumeration of types which represents how to acquire an advisory lock.
Variants§
Trait Implementations§
Source§impl Clone for FileLockMode
impl Clone for FileLockMode
Source§fn clone(&self) -> FileLockMode
fn clone(&self) -> FileLockMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileLockMode
impl Debug for FileLockMode
Source§impl PartialEq for FileLockMode
impl PartialEq for FileLockMode
impl Copy for FileLockMode
impl Eq for FileLockMode
impl StructuralPartialEq for FileLockMode
Auto Trait Implementations§
impl Freeze for FileLockMode
impl RefUnwindSafe for FileLockMode
impl Send for FileLockMode
impl Sync for FileLockMode
impl Unpin for FileLockMode
impl UnwindSafe for FileLockMode
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