Enum dbs_uhttp::ConnectionError
source · [−]pub enum ConnectionError {
ConnectionClosed,
InvalidWrite,
ParseError(RequestError),
StreamReadError(SysError),
StreamWriteError(Error),
}Expand description
Errors associated with a HTTP Connection.
Variants
ConnectionClosed
Attempted to read or write on a closed connection.
InvalidWrite
Attempted to write on a stream when there was nothing to write.
ParseError(RequestError)
The request parsing has failed.
StreamReadError(SysError)
Could not perform a read operation from stream successfully.
StreamWriteError(Error)
Could not perform a write operation to stream successfully.
Trait Implementations
sourceimpl Debug for ConnectionError
impl Debug for ConnectionError
Auto Trait Implementations
impl !RefUnwindSafe for ConnectionError
impl Send for ConnectionError
impl Sync for ConnectionError
impl Unpin for ConnectionError
impl !UnwindSafe for ConnectionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more