pub struct Lock {
pub version: u64,
pub binds: Binds,
}Expand description
Accepted binds, and the format version they were written under.
Fields§
§version: u64Format on disk. A lockfile that does not exist yet reports VERSION.
binds: Bindsitem path → fingerprint (hex).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Lock
impl Freeze for Lock
impl Move for Lock
impl RefUnwindSafe for Lock
impl Send for Lock
impl Sync for Lock
impl Unpin for Lock
impl UnsafeUnpin for Lockwhere
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for Lock
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