pub struct Decoder6<A, B, C, D, E, F>{ /* private fields */ }Expand description
A decoder which decodes six objects, one after the other.
Implementations§
Trait Implementations§
Source§impl<A, B, C, D, E, F> Decoder for Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> Decoder for Decoder6<A, B, C, D, E, F>
Source§type Output = (<A as Decoder>::Output, <B as Decoder>::Output, <C as Decoder>::Output, <D as Decoder>::Output, <E as Decoder>::Output, <F as Decoder>::Output)
type Output = (<A as Decoder>::Output, <B as Decoder>::Output, <C as Decoder>::Output, <D as Decoder>::Output, <E as Decoder>::Output, <F as Decoder>::Output)
The type that this decoder produces when decoding is complete.
Source§type Error = Decoder6Error<<A as Decoder>::Error, <B as Decoder>::Error, <C as Decoder>::Error, <D as Decoder>::Error, <E as Decoder>::Error, <F as Decoder>::Error>
type Error = Decoder6Error<<A as Decoder>::Error, <B as Decoder>::Error, <C as Decoder>::Error, <D as Decoder>::Error, <E as Decoder>::Error, <F as Decoder>::Error>
The error type that this decoder can produce.
Source§fn push_bytes(&mut self, bytes: &mut &[u8]) -> Result<bool, Self::Error>
fn push_bytes(&mut self, bytes: &mut &[u8]) -> Result<bool, Self::Error>
Push bytes into the decoder, consuming as much as possible. Read more
Source§fn end(self) -> Result<Self::Output, Self::Error>
fn end(self) -> Result<Self::Output, Self::Error>
Complete the decoding process and return the final result. Read more
Source§fn read_limit(&self) -> usize
fn read_limit(&self) -> usize
Returns the maximum number of bytes this decoder can consume without over-reading. Read more
Auto Trait Implementations§
impl<A, B, C, D, E, F> Freeze for Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> RefUnwindSafe for Decoder6<A, B, C, D, E, F>where
<A as Decoder>::Output: RefUnwindSafe,
<B as Decoder>::Output: RefUnwindSafe,
<C as Decoder>::Output: RefUnwindSafe,
C: RefUnwindSafe,
F: RefUnwindSafe,
<D as Decoder>::Output: RefUnwindSafe,
<E as Decoder>::Output: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E, F> Send for Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> Sync for Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> Unpin for Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> UnwindSafe for Decoder6<A, B, C, D, E, F>where
<A as Decoder>::Output: UnwindSafe,
<B as Decoder>::Output: UnwindSafe,
<C as Decoder>::Output: UnwindSafe,
C: UnwindSafe,
F: UnwindSafe,
<D as Decoder>::Output: UnwindSafe,
<E as Decoder>::Output: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more