Struct bincode::config::WithOtherIntEncoding [−][src]
pub struct WithOtherIntEncoding<O: Options, I: IntEncoding> { /* fields omitted */ }
A configuration struct with a user-specified length encoding
Trait Implementations
impl<O: Clone + Options, I: Clone + IntEncoding> Clone for WithOtherIntEncoding<O, I>[src]
impl<O: Clone + Options, I: Clone + IntEncoding> Clone for WithOtherIntEncoding<O, I>[src]fn clone(&self) -> WithOtherIntEncoding<O, I>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<O: Copy + Options, I: Copy + IntEncoding> Copy for WithOtherIntEncoding<O, I>[src]
Auto Trait Implementations
impl<O, I> RefUnwindSafe for WithOtherIntEncoding<O, I> where
I: RefUnwindSafe,
O: RefUnwindSafe,
I: RefUnwindSafe,
O: RefUnwindSafe,
impl<O, I> Send for WithOtherIntEncoding<O, I> where
I: Send,
O: Send,
I: Send,
O: Send,
impl<O, I> Sync for WithOtherIntEncoding<O, I> where
I: Sync,
O: Sync,
I: Sync,
O: Sync,
impl<O, I> Unpin for WithOtherIntEncoding<O, I> where
I: Unpin,
O: Unpin,
I: Unpin,
O: Unpin,
impl<O, I> UnwindSafe for WithOtherIntEncoding<O, I> where
I: UnwindSafe,
O: UnwindSafe,
I: UnwindSafe,
O: UnwindSafe,
Blanket Implementations
impl<T> Options for T where
T: InternalOptions, [src]
impl<T> Options for T where
T: InternalOptions, [src]fn with_no_limit(self) -> WithOtherLimit<Self, Infinite>[src]
fn with_limit(self, limit: u64) -> WithOtherLimit<Self, Bounded>[src]
fn with_little_endian(self) -> WithOtherEndian<Self, LittleEndian>[src]
fn with_big_endian(self) -> WithOtherEndian<Self, BigEndian>[src]
fn with_native_endian(self) -> WithOtherEndian<Self, NativeEndian>[src]
fn with_varint_encoding(self) -> WithOtherIntEncoding<Self, VarintEncoding>[src]
fn with_fixint_encoding(self) -> WithOtherIntEncoding<Self, FixintEncoding>[src]
fn reject_trailing_bytes(self) -> WithOtherTrailing<Self, RejectTrailing>[src]
fn allow_trailing_bytes(self) -> WithOtherTrailing<Self, AllowTrailing>[src]
fn serialize<S: ?Sized + Serialize>(self, t: &S) -> Result<Vec<u8>>[src]
fn serialized_size<T: ?Sized + Serialize>(self, t: &T) -> Result<u64>[src]
fn serialize_into<W: Write, T: ?Sized + Serialize>(
self,
w: W,
t: &T
) -> Result<()>[src]
self,
w: W,
t: &T
) -> Result<()>
fn deserialize<'a, T: Deserialize<'a>>(self, bytes: &'a [u8]) -> Result<T>[src]
fn deserialize_seed<'a, T: DeserializeSeed<'a>>(
self,
seed: T,
bytes: &'a [u8]
) -> Result<T::Value>[src]
self,
seed: T,
bytes: &'a [u8]
) -> Result<T::Value>
fn deserialize_from<R: Read, T: DeserializeOwned>(self, reader: R) -> Result<T>[src]
fn deserialize_from_seed<'a, R: Read, T: DeserializeSeed<'a>>(
self,
seed: T,
reader: R
) -> Result<T::Value>[src]
self,
seed: T,
reader: R
) -> Result<T::Value>
fn deserialize_from_custom<'a, R: BincodeRead<'a>, T: DeserializeOwned>(
self,
reader: R
) -> Result<T>[src]
self,
reader: R
) -> Result<T>
fn deserialize_from_custom_seed<'a, R: BincodeRead<'a>, T: DeserializeSeed<'a>>(
self,
seed: T,
reader: R
) -> Result<T::Value>[src]
self,
seed: T,
reader: R
) -> Result<T::Value>