mesh::payload::table::encode

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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: 'static + MeshField + Send, R: 'static + MeshField + Send,

Source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

Source§

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

Source§

const ENCODERS: &'static [ErasedEncoderEntry] = _

Source§

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

Source§

const ENCODERS: &'static [ErasedEncoderEntry] = _