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§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§

Source§

impl StructEncodeMetadata<Resource> for WritePipe

Source§

impl StructEncodeMetadata<Resource> for CancelContext

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<I, R> StructEncodeMetadata<Resource> for Rpc<I, R>
where I: 'static + MeshField + Send, R: 'static + MeshField + Send,

Source§

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

Source§

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