pub struct VersionStoreGuard { /* private fields */ }Implementations§
Source§impl VersionStoreGuard
impl VersionStoreGuard
pub fn load(&self) -> Result<Option<VersionFile>>
pub fn save(&self, value: &VersionFile) -> Result<()>
Trait Implementations§
Source§impl Drop for VersionStoreGuard
impl Drop for VersionStoreGuard
Auto Trait Implementations§
impl Freeze for VersionStoreGuard
impl RefUnwindSafe for VersionStoreGuard
impl Send for VersionStoreGuard
impl Sync for VersionStoreGuard
impl Unpin for VersionStoreGuard
impl UnsafeUnpin for VersionStoreGuard
impl UnwindSafe for VersionStoreGuard
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