#[repr(C)]pub struct SCNetworkReachability { /* private fields */ }Available on crate feature
SCNetworkReachability only.Expand description
This is the handle to a network address or name.
See also Apple’s documentation
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
Attempt to downcast the type to that of type T.
This is the reference-variant. Use CFRetained::downcast if you
want to convert a retained type. See also ConcreteType for more
details on which types support being converted to.
Trait Implementations§
Source§impl AsRef<AnyObject> for SCNetworkReachability
impl AsRef<AnyObject> for SCNetworkReachability
Source§impl AsRef<CFType> for SCNetworkReachability
impl AsRef<CFType> for SCNetworkReachability
Source§impl Borrow<AnyObject> for SCNetworkReachability
impl Borrow<AnyObject> for SCNetworkReachability
Source§impl Borrow<CFType> for SCNetworkReachability
impl Borrow<CFType> for SCNetworkReachability
Source§impl ConcreteType for SCNetworkReachability
impl ConcreteType for SCNetworkReachability
Source§impl Debug for SCNetworkReachability
impl Debug for SCNetworkReachability
Source§impl Deref for SCNetworkReachability
impl Deref for SCNetworkReachability
Source§impl Hash for SCNetworkReachability
impl Hash for SCNetworkReachability
Source§impl Message for SCNetworkReachability
impl Message for SCNetworkReachability
Source§impl PartialEq for SCNetworkReachability
impl PartialEq for SCNetworkReachability
Source§impl RefEncode for SCNetworkReachability
impl RefEncode for SCNetworkReachability
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
Source§impl Type for SCNetworkReachability
impl Type for SCNetworkReachability
impl Eq for SCNetworkReachability
Auto Trait Implementations§
impl !Freeze for SCNetworkReachability
impl !RefUnwindSafe for SCNetworkReachability
impl !Send for SCNetworkReachability
impl !Sync for SCNetworkReachability
impl !Unpin for SCNetworkReachability
impl !UnwindSafe for SCNetworkReachability
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