pub struct Compact {
pub descriptor: Descriptor,
pub seq: Seq,
pub minted: bool,
}Expand description
A compact descriptor’s value: the descriptor it decodes to, its
envelope’s seq (the instance’s as-of mark when it put it, core §5.1) and
its minted bit. The bytes write back from these three (§3.3,
“Writing”).
Fields§
§descriptor: Descriptor§seq: Seq§minted: boolThe instance’s system is minted, so it follows hostid.v1: its
decoded profiles list it. A revision that lists hostid.v1 in
uses puts it there either way, so only the bit says which.
Trait Implementations§
impl StructuralPartialEq for Compact
Auto Trait Implementations§
impl Forget for Compact
impl Freeze for Compactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<InterfaceEntry>: Freeze,
PhantomData<String>: Freeze,
PhantomData<RequireEntry>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for Compact
impl RefUnwindSafe for Compact
impl Send for Compact
impl Sync for Compact
impl Unpin for Compact
impl UnsafeUnpin for Compactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<InterfaceEntry>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<RequireEntry>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for Compactwhere
RawVecInner: UnwindSafe,
BTreeMap<String, u64>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Value>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more