pub enum StreamError<E> {
Decode(DecodeError),
Output(E),
DecoderStalled,
}Expand description
A failure while driving a Decoder through its callback API.
Variants§
Trait Implementations§
Source§impl<E: Debug> Debug for StreamError<E>
impl<E: Debug> Debug for StreamError<E>
Source§impl<E: Display> Display for StreamError<E>
impl<E: Display> Display for StreamError<E>
impl<E: Eq> Eq for StreamError<E>
Source§impl<E: PartialEq> PartialEq for StreamError<E>
impl<E: PartialEq> PartialEq for StreamError<E>
impl<E: PartialEq> StructuralPartialEq for StreamError<E>
Auto Trait Implementations§
impl<E> Freeze for StreamError<E>where
E: Freeze,
impl<E> RefUnwindSafe for StreamError<E>where
E: RefUnwindSafe,
impl<E> Send for StreamError<E>where
E: Send,
impl<E> Sync for StreamError<E>where
E: Sync,
impl<E> Unpin for StreamError<E>where
E: Unpin,
impl<E> UnsafeUnpin for StreamError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for StreamError<E>where
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