pub enum PingErrorKind {
Timeout,
Send,
Recv,
}Variants§
Trait Implementations§
Source§impl Clone for PingErrorKind
impl Clone for PingErrorKind
Source§fn clone(&self) -> PingErrorKind
fn clone(&self) -> PingErrorKind
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PingErrorKind
impl Debug for PingErrorKind
Source§impl<'de> Deserialize<'de> for PingErrorKind
impl<'de> Deserialize<'de> for PingErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PingErrorKind
impl Display for PingErrorKind
Source§impl Error for PingErrorKind
impl Error for PingErrorKind
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl HasErrorKind<PingErrorKind> for PingErrorKind
impl HasErrorKind<PingErrorKind> for PingErrorKind
Source§impl Hash for PingErrorKind
impl Hash for PingErrorKind
Source§impl Ord for PingErrorKind
impl Ord for PingErrorKind
Source§impl PartialEq for PingErrorKind
impl PartialEq for PingErrorKind
Source§impl PartialOrd for PingErrorKind
impl PartialOrd for PingErrorKind
Source§impl Serialize for PingErrorKind
impl Serialize for PingErrorKind
impl Copy for PingErrorKind
impl Eq for PingErrorKind
impl Message for PingErrorKind
impl StructuralPartialEq for PingErrorKind
Auto Trait Implementations§
impl Freeze for PingErrorKind
impl RefUnwindSafe for PingErrorKind
impl Send for PingErrorKind
impl Sync for PingErrorKind
impl Unpin for PingErrorKind
impl UnwindSafe for PingErrorKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)