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