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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more