[−][src]Struct geng::prelude::bincode::config::WithOtherLimit
A configuration struct with a user-specified byte limit
Trait Implementations
impl<O, L> Clone for WithOtherLimit<O, L> where
L: SizeLimit + Clone,
O: Options + Clone,
[src]
L: SizeLimit + Clone,
O: Options + Clone,
fn clone(&self) -> WithOtherLimit<O, L>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<O, L> Copy for WithOtherLimit<O, L> where
L: SizeLimit + Copy,
O: Options + Copy,
[src]
L: SizeLimit + Copy,
O: Options + Copy,
Auto Trait Implementations
impl<O, L> RefUnwindSafe for WithOtherLimit<O, L> where
L: RefUnwindSafe,
O: RefUnwindSafe,
L: RefUnwindSafe,
O: RefUnwindSafe,
impl<O, L> Send for WithOtherLimit<O, L> where
L: Send,
O: Send,
L: Send,
O: Send,
impl<O, L> Sync for WithOtherLimit<O, L> where
L: Sync,
O: Sync,
L: Sync,
O: Sync,
impl<O, L> Unpin for WithOtherLimit<O, L> where
L: Unpin,
O: Unpin,
L: Unpin,
O: Unpin,
impl<O, L> UnwindSafe for WithOtherLimit<O, L> where
L: UnwindSafe,
O: UnwindSafe,
L: UnwindSafe,
O: 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,
fn borrow(&self) -> &TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,