#[repr(C)]pub struct SCNetworkInterface { /* private fields */ }Available on crate feature
SCNetworkConfiguration only.Expand description
This is the type of a reference to an object that represents a network interface.
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 SCNetworkInterface
impl AsRef<AnyObject> for SCNetworkInterface
Source§impl AsRef<CFType> for SCNetworkInterface
impl AsRef<CFType> for SCNetworkInterface
Source§impl AsRef<SCNetworkInterface> for SCNetworkInterface
impl AsRef<SCNetworkInterface> for SCNetworkInterface
Source§impl Borrow<AnyObject> for SCNetworkInterface
impl Borrow<AnyObject> for SCNetworkInterface
Source§impl Borrow<CFType> for SCNetworkInterface
impl Borrow<CFType> for SCNetworkInterface
Source§impl ConcreteType for SCNetworkInterface
impl ConcreteType for SCNetworkInterface
Source§impl Debug for SCNetworkInterface
impl Debug for SCNetworkInterface
Source§impl Deref for SCNetworkInterface
impl Deref for SCNetworkInterface
Source§impl Hash for SCNetworkInterface
impl Hash for SCNetworkInterface
Source§impl Message for SCNetworkInterface
impl Message for SCNetworkInterface
Source§impl PartialEq for SCNetworkInterface
impl PartialEq for SCNetworkInterface
Source§impl RefEncode for SCNetworkInterface
impl RefEncode for SCNetworkInterface
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 SCNetworkInterface
impl Type for SCNetworkInterface
impl Eq for SCNetworkInterface
Auto Trait Implementations§
impl !Freeze for SCNetworkInterface
impl !RefUnwindSafe for SCNetworkInterface
impl !Send for SCNetworkInterface
impl !Sync for SCNetworkInterface
impl !Unpin for SCNetworkInterface
impl !UnwindSafe for SCNetworkInterface
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