[−][src]Struct codegame::prelude::bincode::config::WithOtherTrailing
A configuration struct with a user-specified trailing bytes behavior.
Auto Trait Implementations
impl<O, T> RefUnwindSafe for WithOtherTrailing<O, T> where
O: RefUnwindSafe,
T: RefUnwindSafe,
O: RefUnwindSafe,
T: RefUnwindSafe,
impl<O, T> Send for WithOtherTrailing<O, T> where
O: Send,
T: Send,
O: Send,
T: Send,
impl<O, T> Sync for WithOtherTrailing<O, T> where
O: Sync,
T: Sync,
O: Sync,
T: Sync,
impl<O, T> Unpin for WithOtherTrailing<O, T> where
O: Unpin,
T: Unpin,
O: Unpin,
T: Unpin,
impl<O, T> UnwindSafe for WithOtherTrailing<O, T> where
O: UnwindSafe,
T: UnwindSafe,
O: UnwindSafe,
T: UnwindSafe,
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,
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> Options for T where
T: InternalOptions, [src]
T: InternalOptions,
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>(self, t: &S) -> Result<Vec<u8>, Box<ErrorKind>> where
S: Serialize + ?Sized, [src]
S: Serialize + ?Sized,
fn serialized_size<T>(self, t: &T) -> Result<u64, Box<ErrorKind>> where
T: Serialize + ?Sized, [src]
T: Serialize + ?Sized,
fn serialize_into<W, T>(self, w: W, t: &T) -> Result<(), Box<ErrorKind>> where
T: Serialize + ?Sized,
W: Write, [src]
T: Serialize + ?Sized,
W: Write,
fn deserialize<'a, T>(self, bytes: &'a [u8]) -> Result<T, Box<ErrorKind>> where
T: Deserialize<'a>, [src]
T: Deserialize<'a>,
fn deserialize_seed<'a, T>(
self,
seed: T,
bytes: &'a [u8]
) -> Result<<T as DeserializeSeed<'a>>::Value, Box<ErrorKind>> where
T: DeserializeSeed<'a>, [src]
self,
seed: T,
bytes: &'a [u8]
) -> Result<<T as DeserializeSeed<'a>>::Value, Box<ErrorKind>> where
T: DeserializeSeed<'a>,
fn deserialize_from<R, T>(self, reader: R) -> Result<T, Box<ErrorKind>> where
R: Read,
T: DeserializeOwned, [src]
R: Read,
T: DeserializeOwned,
fn deserialize_from_seed<'a, R, T>(
self,
seed: T,
reader: R
) -> Result<<T as DeserializeSeed<'a>>::Value, Box<ErrorKind>> where
R: Read,
T: DeserializeSeed<'a>, [src]
self,
seed: T,
reader: R
) -> Result<<T as DeserializeSeed<'a>>::Value, Box<ErrorKind>> where
R: Read,
T: DeserializeSeed<'a>,
fn deserialize_from_custom<'a, R, T>(
self,
reader: R
) -> Result<T, Box<ErrorKind>> where
R: BincodeRead<'a>,
T: DeserializeOwned, [src]
self,
reader: R
) -> Result<T, Box<ErrorKind>> where
R: BincodeRead<'a>,
T: DeserializeOwned,
fn deserialize_from_custom_seed<'a, R, T>(
self,
seed: T,
reader: R
) -> Result<<T as DeserializeSeed<'a>>::Value, Box<ErrorKind>> where
R: BincodeRead<'a>,
T: DeserializeSeed<'a>, [src]
self,
seed: T,
reader: R
) -> Result<<T as DeserializeSeed<'a>>::Value, Box<ErrorKind>> where
R: BincodeRead<'a>,
T: DeserializeSeed<'a>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,