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
sourceimpl Clone for GNetworkMonitorInterface
impl Clone for GNetworkMonitorInterface
sourcefn clone(&self) -> GNetworkMonitorInterface
fn clone(&self) -> GNetworkMonitorInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GNetworkMonitorInterface
impl Debug for GNetworkMonitorInterface
impl Copy for GNetworkMonitorInterface
Auto Trait Implementations
impl RefUnwindSafe for GNetworkMonitorInterface
impl Send for GNetworkMonitorInterface
impl Sync for GNetworkMonitorInterface
impl Unpin for GNetworkMonitorInterface
impl UnwindSafe for GNetworkMonitorInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more