#[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§
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 moreSource§impl Debug for _GNetworkMonitorInterface
impl Debug for _GNetworkMonitorInterface
impl Copy for _GNetworkMonitorInterface
impl Eq for _GNetworkMonitorInterface
impl StructuralPartialEq for _GNetworkMonitorInterface
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