Enum afire::error::StreamError
source · pub enum StreamError {
UnexpectedEof,
}
Expand description
Error that can occur while reading or writing to a stream
Variants§
UnexpectedEof
The stream ended unexpectedly
Trait Implementations§
source§impl Clone for StreamError
impl Clone for StreamError
source§fn clone(&self) -> StreamError
fn clone(&self) -> StreamError
Returns a copy 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 StreamError
impl Debug for StreamError
source§impl Display for StreamError
impl Display for StreamError
source§impl From<StreamError> for Error
impl From<StreamError> for Error
source§fn from(e: StreamError) -> Self
fn from(e: StreamError) -> Self
Converts to this type from the input type.
source§impl PartialEq<StreamError> for StreamError
impl PartialEq<StreamError> for StreamError
source§fn eq(&self, other: &StreamError) -> bool
fn eq(&self, other: &StreamError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StreamError
impl StructuralEq for StreamError
impl StructuralPartialEq for StreamError
Auto Trait Implementations§
impl RefUnwindSafe for StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl UnwindSafe for StreamError
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