#[repr(transparent)]pub struct NWPathStatus(pub NSInteger);
👎Deprecated: Use
nw_path_status_t
in Network framework instead, see deprecation notice in <NetworkExtension/NWPath.h>Expand description
Path status values
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
👎Deprecated: Use
nw_path_status_t
in Network framework instead, see deprecation notice in <NetworkExtension/NWPath.h>Implementations§
Source§impl NWPathStatus
impl NWPathStatus
pub const Invalid: Self
👎Deprecated: Use
nw_path_status_t
in Network framework instead, see deprecation notice in <NetworkExtension/NWPath.h>pub const Satisfied: Self
👎Deprecated: Use
nw_path_status_t
in Network framework instead, see deprecation notice in <NetworkExtension/NWPath.h>pub const Unsatisfied: Self
👎Deprecated: Use
nw_path_status_t
in Network framework instead, see deprecation notice in <NetworkExtension/NWPath.h>Sourcepub const Satisfiable: Self
👎Deprecated: Use nw_path_status_t
in Network framework instead, see deprecation notice in <NetworkExtension/NWPath.h>
pub const Satisfiable: Self
nw_path_status_t
in Network framework instead, see deprecation notice in <NetworkExtension/NWPath.h>a connection attempt.
Trait Implementations§
Source§impl Clone for NWPathStatus
impl Clone for NWPathStatus
Source§fn clone(&self) -> NWPathStatus
fn clone(&self) -> NWPathStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NWPathStatus
impl Debug for NWPathStatus
Source§impl Encode for NWPathStatus
impl Encode for NWPathStatus
Source§impl Hash for NWPathStatus
impl Hash for NWPathStatus
Source§impl Ord for NWPathStatus
impl Ord for NWPathStatus
Source§fn cmp(&self, other: &NWPathStatus) -> Ordering
fn cmp(&self, other: &NWPathStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NWPathStatus
impl PartialEq for NWPathStatus
Source§impl PartialOrd for NWPathStatus
impl PartialOrd for NWPathStatus
Source§impl RefEncode for NWPathStatus
impl RefEncode for NWPathStatus
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NWPathStatus
impl Eq for NWPathStatus
impl StructuralPartialEq for NWPathStatus
Auto Trait Implementations§
impl Freeze for NWPathStatus
impl RefUnwindSafe for NWPathStatus
impl Send for NWPathStatus
impl Sync for NWPathStatus
impl Unpin for NWPathStatus
impl UnwindSafe for NWPathStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.