[−][src]Struct ordcode::params::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]
pub fn clone(&self) -> NativeBinary
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NativeBinary
[src]
impl Default for NativeBinary
[src]
pub fn default() -> NativeBinary
[src]
impl EncodingParams for NativeBinary
[src]
pub const ORDER: Order
[src]
pub const ENDIANNESS: Endianness
[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
impl RefUnwindSafe for NativeBinary
[src]
impl Send for NativeBinary
[src]
impl Sync for NativeBinary
[src]
impl Unpin for NativeBinary
[src]
impl UnwindSafe for NativeBinary
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,