pub enum ReachabilityError {
FailedToDetermineReachability,
UnrecognizedFlags(u32),
}Expand description
Failure to determine reachability
Variants§
FailedToDetermineReachability
SCNetworkReachabilityGetFlags call failed.
UnrecognizedFlags(u32)
SCNetworkReachabilityGetFlags call returned unrecognized flags.
Trait Implementations§
Source§impl Debug for ReachabilityError
impl Debug for ReachabilityError
Source§impl Display for ReachabilityError
impl Display for ReachabilityError
Source§impl Error for ReachabilityError
impl Error for ReachabilityError
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()
Auto Trait Implementations§
impl Freeze for ReachabilityError
impl RefUnwindSafe for ReachabilityError
impl Send for ReachabilityError
impl Sync for ReachabilityError
impl Unpin for ReachabilityError
impl UnwindSafe for ReachabilityError
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