Enum check_jitter::CheckJitterError
source · #[non_exhaustive]pub enum CheckJitterError {
DnsLookupFailed(String),
InvalidIP(String),
PermissionDenied,
PingError(PingErrorWrapper),
PingIoError(String),
Timeout(String),
UrlParseError(ParseError),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DnsLookupFailed(String)
InvalidIP(String)
PermissionDenied
PingError(PingErrorWrapper)
PingIoError(String)
Timeout(String)
UrlParseError(ParseError)
Trait Implementations§
source§impl Debug for CheckJitterError
impl Debug for CheckJitterError
source§impl Display for CheckJitterError
impl Display for CheckJitterError
source§impl Error for CheckJitterError
impl Error for CheckJitterError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + '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<Error> for CheckJitterError
impl From<Error> for CheckJitterError
source§impl From<ParseError> for CheckJitterError
impl From<ParseError> for CheckJitterError
source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for CheckJitterError
impl PartialEq for CheckJitterError
source§fn eq(&self, other: &CheckJitterError) -> bool
fn eq(&self, other: &CheckJitterError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CheckJitterError
impl StructuralPartialEq for CheckJitterError
Auto Trait Implementations§
impl Freeze for CheckJitterError
impl !RefUnwindSafe for CheckJitterError
impl Send for CheckJitterError
impl Sync for CheckJitterError
impl Unpin for CheckJitterError
impl !UnwindSafe for CheckJitterError
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