pub struct Lineage {
pub instance: InstanceId,
pub seq: u64,
}Expand description
dioring’s lineage: minted at any time, never reused, including after retirement. Carries its instance, so another instance’s lineage is refused.
Fields§
§instance: InstanceIdThe instance that minted it.
seq: u64Its place in that instance’s lineages: the default lineage is 0.
Trait Implementations§
impl Copy for Lineage
impl Eq for Lineage
impl StructuralPartialEq for Lineage
Auto Trait Implementations§
impl Freeze for Lineage
impl RefUnwindSafe for Lineage
impl Send for Lineage
impl Sync for Lineage
impl Unpin for Lineage
impl UnsafeUnpin for Lineage
impl UnwindSafe for Lineage
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