#[repr(C)]pub struct SCNetworkConnection { /* private fields */ }Available on crate feature
SCNetworkConnection only.Expand description
This is the handle to manage a connection-oriented service.
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 SCNetworkConnection
impl AsRef<AnyObject> for SCNetworkConnection
Source§impl AsRef<CFType> for SCNetworkConnection
impl AsRef<CFType> for SCNetworkConnection
Source§impl Borrow<AnyObject> for SCNetworkConnection
impl Borrow<AnyObject> for SCNetworkConnection
Source§impl Borrow<CFType> for SCNetworkConnection
impl Borrow<CFType> for SCNetworkConnection
Source§impl ConcreteType for SCNetworkConnection
impl ConcreteType for SCNetworkConnection
Source§impl Debug for SCNetworkConnection
impl Debug for SCNetworkConnection
Source§impl Deref for SCNetworkConnection
impl Deref for SCNetworkConnection
Source§impl Hash for SCNetworkConnection
impl Hash for SCNetworkConnection
Source§impl Message for SCNetworkConnection
impl Message for SCNetworkConnection
Source§impl PartialEq for SCNetworkConnection
impl PartialEq for SCNetworkConnection
Source§impl RefEncode for SCNetworkConnection
impl RefEncode for SCNetworkConnection
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 SCNetworkConnection
impl Type for SCNetworkConnection
impl Eq for SCNetworkConnection
Auto Trait Implementations§
impl !Freeze for SCNetworkConnection
impl !RefUnwindSafe for SCNetworkConnection
impl !Send for SCNetworkConnection
impl !Sync for SCNetworkConnection
impl !Unpin for SCNetworkConnection
impl !UnwindSafe for SCNetworkConnection
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