#[repr(C)]pub struct _GNetworkMonitorInterface {
pub g_iface: GTypeInterface,
pub network_changed: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, network_available: gboolean)>,
pub can_reach: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>,
pub can_reach_async: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub can_reach_finish: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
}Fields§
§g_iface: GTypeInterface§network_changed: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, network_available: gboolean)>§can_reach: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>§can_reach_async: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>§can_reach_finish: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>Trait Implementations§
Auto Trait Implementations§
impl Freeze for _GNetworkMonitorInterface
impl RefUnwindSafe for _GNetworkMonitorInterface
impl Send for _GNetworkMonitorInterface
impl Sync for _GNetworkMonitorInterface
impl Unpin for _GNetworkMonitorInterface
impl UnwindSafe for _GNetworkMonitorInterface
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