pub struct Cask { /* private fields */ }
Expand description
An handle to a Cask
database.
This handle can be “cheaply” cloned and safely shared between threads. Cask
s cannot be used
concurrently by separate processes and this is ensured by using a file lock in the Cask
dir.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cask
impl RefUnwindSafe for Cask
impl Send for Cask
impl Sync for Cask
impl Unpin for Cask
impl UnwindSafe for Cask
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