Enum tlfs_crdt::ArchivedSchema[][src]

#[repr(u8,)]
pub enum ArchivedSchema where
    PrimitiveKind: Archive,
    PrimitiveKind: Archive
{ Null, Flag, Reg(Archived<PrimitiveKind>), Table(Archived<PrimitiveKind>, Archived<Box<Schema>>), Array(Archived<Box<Schema>>), Struct(Archived<BTreeMap<String, Schema>>), }
Expand description

An archived Schema

Variants

Null

The archived counterpart of Schema::Null

Flag

The archived counterpart of Schema::Flag

Reg(Archived<PrimitiveKind>)

Tuple Fields

0: Archived<PrimitiveKind>

The archived counterpart of Schema::Reg::0

The archived counterpart of Schema::Reg

Table(Archived<PrimitiveKind>, Archived<Box<Schema>>)

Tuple Fields

0: Archived<PrimitiveKind>

The archived counterpart of Schema::Table::0

1: Archived<Box<Schema>>

The archived counterpart of Schema::Table::1

The archived counterpart of Schema::Table

Array(Archived<Box<Schema>>)

Tuple Fields

0: Archived<Box<Schema>>

The archived counterpart of Schema::Array::0

The archived counterpart of Schema::Array

Struct(Archived<BTreeMap<String, Schema>>)

Tuple Fields

0: Archived<BTreeMap<String, Schema>>

The archived counterpart of Schema::Struct::0

The archived counterpart of Schema::Struct

Implementations

Returns if Causal matches ArchivedSchema.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Deserializes using the given deserializer

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Gets the layout of the type.

The type for metadata in pointers and references to Self.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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