pub enum RangeLockResult<Guard> {
Ok(Guard),
RangeConflict,
BadRange,
OtherError,
}Expand description
§RangeLockResult
The result of a range locking attempt
Variants§
Implementations§
Source§impl<Guard> RangeLockResult<Guard>
impl<Guard> RangeLockResult<Guard>
Auto Trait Implementations§
impl<Guard> Freeze for RangeLockResult<Guard>where
Guard: Freeze,
impl<Guard> RefUnwindSafe for RangeLockResult<Guard>where
Guard: RefUnwindSafe,
impl<Guard> Send for RangeLockResult<Guard>where
Guard: Send,
impl<Guard> Sync for RangeLockResult<Guard>where
Guard: Sync,
impl<Guard> Unpin for RangeLockResult<Guard>where
Guard: Unpin,
impl<Guard> UnwindSafe for RangeLockResult<Guard>where
Guard: UnwindSafe,
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