[−][src]Struct combine::stream::decoder::Decoder
Used together with the decode! macro
Implementations
impl<S, P> Decoder<S, P, Buffer> where
P: Default,
S: Default, [src]
P: Default,
S: Default,
pub fn new() -> Self[src]
Constructs a new Decoder with an internal buffer. Allows any AsyncRead/Read instance to
be used when decoding but there may be data left in the internal buffer after decoding
(accessible with Decoder::buffer
pub fn new_buffer() -> Self[src]
Constructs a new Decoder with an internal buffer. Allows any AsyncRead/Read instance to
be used when decoding but there may be data left in the internal buffer after decoding
(accessible with Decoder::buffer
impl<S, P> Decoder<S, P, Bufferless> where
P: Default,
S: Default, [src]
P: Default,
S: Default,
pub fn new_bufferless() -> Self[src]
Constructs a new Decoder without an internal buffer. Requires the read instance to be
wrapped with combine's BufReader instance to
impl<S, P> Decoder<S, P>[src]
impl<S, P, C> Decoder<S, P, C>[src]
Trait Implementations
Auto Trait Implementations
impl<S, P, C> RefUnwindSafe for Decoder<S, P, C> where
C: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
C: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, P, C> Send for Decoder<S, P, C> where
C: Send,
P: Send,
S: Send,
C: Send,
P: Send,
S: Send,
impl<S, P, C> Sync for Decoder<S, P, C> where
C: Sync,
P: Sync,
S: Sync,
C: Sync,
P: Sync,
S: Sync,
impl<S, P, C> Unpin for Decoder<S, P, C> where
C: Unpin,
P: Unpin,
S: Unpin,
C: Unpin,
P: Unpin,
S: Unpin,
impl<S, P, C> UnwindSafe for Decoder<S, P, C> where
C: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
C: UnwindSafe,
P: UnwindSafe,
S: 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, 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>,