[][src]Struct ordcode::params::NativeBinary

pub struct NativeBinary;

Serializer parameters for platform-specific binary format, which does not need a double-ended buffer

This is probably the fastest option, but serialized data will not be portable. It still requires implementation of TailReadBytes, TailWriteBytes traits for reader and writer, which should behave the same as ReadBytes, WriteBytes.

Trait Implementations

impl Clone for NativeBinary[src]

impl Copy for NativeBinary[src]

impl Default for NativeBinary[src]

impl EncodingParams for NativeBinary[src]

impl<W> FormatVersion<NativeBinary> for Serializer<W, NativeBinary>[src]

impl<W> FormatVersion<NativeBinary> for Deserializer<W, NativeBinary>[src]

impl SerializerParams for NativeBinary[src]

type SeqLenEncoder = VarIntLenEncoder

Encoder for sequence lengths

type DiscriminantEncoder = VarIntDiscrEncoder

Encoder for discriminant values

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.