#[non_exhaustive]pub enum CheckJitterError {
DnsLookupFailed(String),
DnsResolutionError {
addr: String,
error: String,
},
EmptyDeltas,
InsufficientSamples(u8),
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)
DnsResolutionError
EmptyDeltas
InsufficientSamples(u8)
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
impl Eq 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)>
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 CheckJitterError
impl From<Error> for CheckJitterError
Source§impl PartialEq for CheckJitterError
impl PartialEq for CheckJitterError
Source§fn eq(&self, other: &CheckJitterError) -> bool
fn eq(&self, other: &CheckJitterError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckJitterError
Auto Trait Implementations§
impl !RefUnwindSafe for CheckJitterError
impl !UnwindSafe for CheckJitterError
impl Freeze for CheckJitterError
impl Send for CheckJitterError
impl Sync for CheckJitterError
impl Unpin for CheckJitterError
impl UnsafeUnpin 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