Enum libstrophe::OwnedConnectionError
source · pub enum OwnedConnectionError {
Aborted,
TimedOut,
ConnectionReset,
TLS(i32),
Stream(OwnedStreamError),
}
Variants§
Trait Implementations§
source§impl Clone for OwnedConnectionError
impl Clone for OwnedConnectionError
source§fn clone(&self) -> OwnedConnectionError
fn clone(&self) -> OwnedConnectionError
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 OwnedConnectionError
impl Debug for OwnedConnectionError
source§impl Display for OwnedConnectionError
impl Display for OwnedConnectionError
source§impl Error for OwnedConnectionError
impl Error for OwnedConnectionError
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
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<ConnectionError<'_, '_>> for OwnedConnectionError
impl From<ConnectionError<'_, '_>> for OwnedConnectionError
source§fn from(s: ConnectionError<'_, '_>) -> Self
fn from(s: ConnectionError<'_, '_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OwnedConnectionError
impl Send for OwnedConnectionError
impl Sync for OwnedConnectionError
impl Unpin for OwnedConnectionError
impl UnwindSafe for OwnedConnectionError
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