Enum tlfs_crdt::ArchivedKind [−][src]
#[repr(u8,)]
pub enum ArchivedKind where
PrimitiveKind: Archive,
PrimitiveKind: Archive, {
Null,
Flag,
Reg(Archived<PrimitiveKind>),
Table(Archived<PrimitiveKind>),
Struct,
Array,
}
Expand description
An archived Kind
Variants
Null
The archived counterpart of Kind::Null
Flag
The archived counterpart of Kind::Flag
Reg(Archived<PrimitiveKind>)
Tuple Fields
0: Archived<PrimitiveKind>
The archived counterpart of Kind::Reg::0
The archived counterpart of Kind::Reg
Table(Archived<PrimitiveKind>)
Tuple Fields
0: Archived<PrimitiveKind>
The archived counterpart of Kind::Table::0
The archived counterpart of Kind::Table
Struct
The archived counterpart of Kind::Struct
Array
The archived counterpart of Kind::Array
Trait Implementations
impl<__C: ?Sized> CheckBytes<__C> for ArchivedKind where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
Archived<PrimitiveKind>: CheckBytes<__C>,
Archived<PrimitiveKind>: CheckBytes<__C>,
impl<__C: ?Sized> CheckBytes<__C> for ArchivedKind where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
Archived<PrimitiveKind>: CheckBytes<__C>,
Archived<PrimitiveKind>: CheckBytes<__C>,
type Error = EnumCheckError<u8>
type Error = EnumCheckError<u8>
The error that may result from checking the type.
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
Checks whether the given pointer points to a valid value within the given context. Read more
impl PartialEq<ArchivedKind> for ArchivedKind where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
impl PartialEq<ArchivedKind> for ArchivedKind where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl StructuralPartialEq for ArchivedKind where
PrimitiveKind: Archive,
PrimitiveKind: Archive,
Auto Trait Implementations
impl RefUnwindSafe for ArchivedKind
impl Send for ArchivedKind
impl Sync for ArchivedKind
impl Unpin for ArchivedKind
impl UnwindSafe for ArchivedKind
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more