Trait mesh_protobuf::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 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 NonZeroI8

source§

impl DefaultEncoding for NonZeroI16

source§

impl DefaultEncoding for NonZeroI32

source§

impl DefaultEncoding for NonZeroI64

source§

impl DefaultEncoding for NonZeroIsize

source§

impl DefaultEncoding for NonZeroU8

source§

impl DefaultEncoding for NonZeroU16

source§

impl DefaultEncoding for NonZeroU32

source§

impl DefaultEncoding for NonZeroU64

source§

impl DefaultEncoding for NonZeroUsize

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> DefaultEncoding for (E0,)

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

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: DefaultEncoding + Clone> DefaultEncoding for Arc<T>

source§

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

source§

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

source§

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

source§

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

Implementors§