#[repr(C)]pub struct SCNetworkReachabilityContext {
pub version: CFIndex,
pub info: *mut c_void,
pub retain: Option<unsafe extern "C" fn(info: *const c_void) -> *const c_void>,
pub release: Option<unsafe extern "C" fn(info: *const c_void)>,
pub copyDescription: Option<unsafe extern "C" fn(info: *const c_void) -> CFStringRef>,
}
Fields§
§version: CFIndex
§info: *mut c_void
§retain: Option<unsafe extern "C" fn(info: *const c_void) -> *const c_void>
§release: Option<unsafe extern "C" fn(info: *const c_void)>
§copyDescription: Option<unsafe extern "C" fn(info: *const c_void) -> CFStringRef>
Auto Trait Implementations§
impl RefUnwindSafe for SCNetworkReachabilityContext
impl !Send for SCNetworkReachabilityContext
impl !Sync for SCNetworkReachabilityContext
impl Unpin for SCNetworkReachabilityContext
impl UnwindSafe for SCNetworkReachabilityContext
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