Struct gio_sys::GNetworkMonitorInterface
source · #[repr(C)]pub struct GNetworkMonitorInterface {
pub g_iface: GTypeInterface,
pub network_changed: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: gboolean)>,
pub can_reach: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: *mut GSocketConnectable, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub can_reach_async: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: *mut GSocketConnectable, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub can_reach_finish: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
}
Fields§
§g_iface: GTypeInterface
§network_changed: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: gboolean)>
§can_reach: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: *mut GSocketConnectable, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§can_reach_async: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: *mut GSocketConnectable, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§can_reach_finish: Option<unsafe extern "C" fn(_: *mut GNetworkMonitor, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
Trait Implementations§
source§impl Clone for GNetworkMonitorInterface
impl Clone for GNetworkMonitorInterface
source§fn clone(&self) -> GNetworkMonitorInterface
fn clone(&self) -> GNetworkMonitorInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more