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 moresource§impl Debug for GNetworkMonitorInterface
impl Debug for GNetworkMonitorInterface
impl Copy 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