Enum socket_flow::error::CloseError
source · pub enum CloseError {
SendError {
source: SendError<Frame>,
},
Timeout {
source: Elapsed,
},
}
Variants§
Trait Implementations§
source§impl Debug for CloseError
impl Debug for CloseError
source§impl Display for CloseError
impl Display for CloseError
source§impl Error for CloseError
impl Error for CloseError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Elapsed> for CloseError
impl From<Elapsed> for CloseError
Auto Trait Implementations§
impl Freeze for CloseError
impl RefUnwindSafe for CloseError
impl Send for CloseError
impl Sync for CloseError
impl Unpin for CloseError
impl UnwindSafe for CloseError
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