pub enum StreamBodyKind {
CodecError,
InputOutputError,
MaxLenReachedError,
}Expand description
The kind of error that occurred during streaming.
Variants§
CodecError
An error occured while decoding a frame or format.
InputOutputError
An error occured while reading the stream.
MaxLenReachedError
The maximum object length was exceeded.
Trait Implementations§
Source§impl Clone for StreamBodyKind
impl Clone for StreamBodyKind
Source§fn clone(&self) -> StreamBodyKind
fn clone(&self) -> StreamBodyKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamBodyKind
impl Debug for StreamBodyKind
impl Copy for StreamBodyKind
Auto Trait Implementations§
impl Freeze for StreamBodyKind
impl RefUnwindSafe for StreamBodyKind
impl Send for StreamBodyKind
impl Sync for StreamBodyKind
impl Unpin for StreamBodyKind
impl UnwindSafe for StreamBodyKind
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