pub enum SendPingError {
InvalidSessionHandle,
Io(Error),
Lifecycle(LifecycleError),
}
Expand description
Errors that can occur when sending a ping
Variants§
InvalidSessionHandle
Invalid session handle
Io(Error)
IO error
Lifecycle(LifecycleError)
Recv task error
Trait Implementations§
Source§impl Debug for SendPingError
impl Debug for SendPingError
Source§impl Display for SendPingError
impl Display for SendPingError
Source§impl Error for SendPingError
impl Error for SendPingError
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<Error> for SendPingError
impl From<Error> for SendPingError
Source§impl From<LifecycleError> for SendPingError
impl From<LifecycleError> for SendPingError
Source§fn from(source: LifecycleError) -> Self
fn from(source: LifecycleError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SendPingError
impl !RefUnwindSafe for SendPingError
impl Send for SendPingError
impl Sync for SendPingError
impl Unpin for SendPingError
impl !UnwindSafe for SendPingError
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