Trait mesh::payload::DefaultEncoding

source ·
pub trait DefaultEncoding {
    type Encoding;
}
Expand description

Associates the default encoder/decoder type for converting an object to/from protobuf format.

Required Associated Types§

source

type Encoding

The encoding to use for the serialization.

This type may or may not implement and of the four traits (MessageEncode, MessageDecode, FieldEncode, FieldDecode, since a type may only be serializable and not deserializable, for example.

Implementations on Foreign Types§

source§

impl DefaultEncoding for Infallible

source§

impl DefaultEncoding for bool

source§

impl DefaultEncoding for char

source§

impl DefaultEncoding for f32

source§

impl DefaultEncoding for f64

source§

impl DefaultEncoding for i8

source§

impl DefaultEncoding for i16

source§

impl DefaultEncoding for i32

source§

impl DefaultEncoding for i64

source§

impl DefaultEncoding for isize

source§

impl DefaultEncoding for u8

source§

impl DefaultEncoding for u16

source§

impl DefaultEncoding for u32

source§

impl DefaultEncoding for u64

source§

impl DefaultEncoding for u128

source§

impl DefaultEncoding for ()

source§

impl DefaultEncoding for usize

source§

impl DefaultEncoding for String

source§

impl DefaultEncoding for NonZero<i8>

source§

impl DefaultEncoding for NonZero<i16>

source§

impl DefaultEncoding for NonZero<i32>

source§

impl DefaultEncoding for NonZero<i64>

source§

impl DefaultEncoding for NonZero<isize>

source§

impl DefaultEncoding for NonZero<u8>

source§

impl DefaultEncoding for NonZero<u16>

source§

impl DefaultEncoding for NonZero<u32>

source§

impl DefaultEncoding for NonZero<u64>

source§

impl DefaultEncoding for NonZero<usize>

source§

impl DefaultEncoding for Wrapping<u64>

source§

impl DefaultEncoding for Duration

source§

impl DefaultEncoding for File

source§

impl DefaultEncoding for TcpListener

source§

impl DefaultEncoding for TcpStream

source§

impl DefaultEncoding for UdpSocket

source§

impl DefaultEncoding for OwnedFd

source§

impl DefaultEncoding for UnixListener

source§

impl DefaultEncoding for UnixStream

source§

impl DefaultEncoding for Socket

source§

impl<'a> DefaultEncoding for &'a str

source§

impl<'a> DefaultEncoding for &'a [u8]

source§

impl<'a> DefaultEncoding for Cow<'a, str>

source§

impl<E0> DefaultEncoding for (E0,)
where E0: DefaultEncoding,

source§

impl<E0, E1> DefaultEncoding for (E0, E1)

source§

impl<E0, E1, E2> DefaultEncoding for (E0, E1, E2)

source§

impl<E0, E1, E2, E3> DefaultEncoding for (E0, E1, E2, E3)

source§

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

source§

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

source§

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

source§

impl<K, V> DefaultEncoding for BTreeMap<K, V>

source§

impl<K, V> DefaultEncoding for HashMap<K, V>

source§

impl<T> DefaultEncoding for Option<T>
where T: DefaultEncoding,

source§

impl<T> DefaultEncoding for Box<T>
where T: DefaultEncoding,

source§

impl<T> DefaultEncoding for Arc<T>

source§

impl<T> DefaultEncoding for Vec<T>
where T: DefaultEncoding,

source§

impl<T> DefaultEncoding for PhantomData<T>

source§

impl<T> DefaultEncoding for Range<T>

source§

impl<T, U> DefaultEncoding for Result<T, U>

source§

impl<T, const N: usize> DefaultEncoding for [T; N]
where T: DefaultEncoding,

Implementors§

source§

impl DefaultEncoding for CancelReason

source§

impl DefaultEncoding for RemoteError

source§

impl DefaultEncoding for Port

source§

impl DefaultEncoding for ReadPipe

source§

type Encoding = MessageEncoding<ReadPipeEncoder>

source§

impl DefaultEncoding for WritePipe

source§

impl DefaultEncoding for Address

source§

impl DefaultEncoding for CancelContext

source§

impl DefaultEncoding for Message

source§

impl DefaultEncoding for NodeId

source§

impl DefaultEncoding for PortId

source§

impl DefaultEncoding for Uuid

source§

impl DefaultEncoding for ProtobufAny

source§

impl DefaultEncoding for ProtobufMessage

source§

impl DefaultEncoding for Timestamp

source§

impl<I, R> DefaultEncoding for Rpc<I, R>
where I: MeshField, R: MeshField,

source§

impl<R> DefaultEncoding for SerializedMessage<R>

source§

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

source§

impl<T> DefaultEncoding for CellUpdater<T>

source§

impl<T> DefaultEncoding for MpscReceiver<T>
where T: MeshField,

source§

impl<T> DefaultEncoding for MpscSender<T>
where T: MeshField,

source§

impl<T> DefaultEncoding for OneshotReceiver<T>
where T: MeshField,

source§

impl<T> DefaultEncoding for OneshotSender<T>
where T: MeshField,

source§

impl<T> DefaultEncoding for Receiver<T>
where T: MeshField,

source§

impl<T> DefaultEncoding for Sender<T>
where T: MeshField,

source§

impl<T, U> DefaultEncoding for EncodeAs<T, U>
where U: From<T> + Into<T> + DefaultEncoding,