Trait mesh::payload::table::encode::StructEncodeMetadata

source ·
pub unsafe trait StructEncodeMetadata<R>: StructMetadata {
    const ENCODERS: &'static [ErasedEncoderEntry];
}
Expand description

Metadata for encoding a struct.

§Safety

The implementor must ensure that the ENCODERS are correct and complete for Self and R.

Required Associated Constants§

source

const ENCODERS: &'static [ErasedEncoderEntry]

The list of encoder vtables.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<R> StructEncodeMetadata<R> for ()

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<R, E0> StructEncodeMetadata<R> for (E0,)

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<R, E0, E1> StructEncodeMetadata<R> for (E0, E1)

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<R, E0, E1, E2> StructEncodeMetadata<R> for (E0, E1, E2)

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<R, E0, E1, E2, E3> StructEncodeMetadata<R> for (E0, E1, E2, E3)

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<R, E0, E1, E2, E3, E4> StructEncodeMetadata<R> for (E0, E1, E2, E3, E4)

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<R, E0, E1, E2, E3, E4, E5> StructEncodeMetadata<R> for (E0, E1, E2, E3, E4, E5)

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<R, E0, E1, E2, E3, E4, E5, E6> StructEncodeMetadata<R> for (E0, E1, E2, E3, E4, E5, E6)

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T, AnyR> StructEncodeMetadata<AnyR> for Range<T>
where AnyR: 'static, T: DefaultEncoding, <T as DefaultEncoding>::Encoding: FieldEncode<T, AnyR>,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

Implementors§

source§

impl StructEncodeMetadata<Resource> for WritePipe

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl StructEncodeMetadata<Resource> for CancelContext

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<AnyR> StructEncodeMetadata<AnyR> for RemoteError
where AnyR: 'static,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<AnyR> StructEncodeMetadata<AnyR> for Address
where AnyR: 'static,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<AnyR> StructEncodeMetadata<AnyR> for NodeId
where AnyR: 'static,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<AnyR> StructEncodeMetadata<AnyR> for PortId
where AnyR: 'static,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<AnyR> StructEncodeMetadata<AnyR> for Uuid
where AnyR: 'static,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<AnyR> StructEncodeMetadata<AnyR> for ProtobufAny
where AnyR: 'static,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<AnyR> StructEncodeMetadata<AnyR> for Timestamp
where AnyR: 'static,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<I, R> StructEncodeMetadata<Resource> for Rpc<I, R>
where I: MeshField, R: MeshField,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for Cell<T>
where T: MeshField + Sync + Clone,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for CellUpdater<T>

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for MpscReceiver<T>
where T: MeshField,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for MpscSender<T>
where T: MeshField,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for OneshotReceiver<T>
where T: MeshField,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for OneshotSender<T>
where T: MeshField,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for Receiver<T>
where T: MeshField,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

source§

impl<T> StructEncodeMetadata<Resource> for Sender<T>
where T: MeshField,

source§

const ENCODERS: &'static [ErasedEncoderEntry] = _