Enum warg_client::StorageLockResult
source · pub enum StorageLockResult<T> {
Acquired(T),
NotAcquired(PathBuf),
}Expand description
A result of an attempt to lock client storage.
Variants§
Acquired(T)
The storage lock was acquired.
NotAcquired(PathBuf)
The storage lock was not acquired for the specified directory.
Auto Trait Implementations§
impl<T> RefUnwindSafe for StorageLockResult<T>where
T: RefUnwindSafe,
impl<T> Send for StorageLockResult<T>where
T: Send,
impl<T> Sync for StorageLockResult<T>where
T: Sync,
impl<T> Unpin for StorageLockResult<T>where
T: Unpin,
impl<T> UnwindSafe for StorageLockResult<T>where
T: 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