[−][src]Trait gio::NetworkMonitorExt
Required methods
fn can_reach<P: IsA<SocketConnectable>, Q: IsA<Cancellable>>(
&self,
connectable: &P,
cancellable: Option<&Q>
) -> Result<(), Error>
&self,
connectable: &P,
cancellable: Option<&Q>
) -> Result<(), Error>
fn can_reach_async<P: IsA<SocketConnectable>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
connectable: &P,
cancellable: Option<&Q>,
callback: R
)
&self,
connectable: &P,
cancellable: Option<&Q>,
callback: R
)
fn can_reach_async_future<P: IsA<SocketConnectable> + Clone + 'static>(
&self,
connectable: &P
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
&self,
connectable: &P
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn get_network_available(&self) -> bool
fn connect_network_changed<F: Fn(&Self, bool) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_network_available_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<NetworkMonitor>> NetworkMonitorExt for O
[src]
fn can_reach<P: IsA<SocketConnectable>, Q: IsA<Cancellable>>(
&self,
connectable: &P,
cancellable: Option<&Q>
) -> Result<(), Error>
[src]
&self,
connectable: &P,
cancellable: Option<&Q>
) -> Result<(), Error>
fn can_reach_async<P: IsA<SocketConnectable>, Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
connectable: &P,
cancellable: Option<&Q>,
callback: R
)
[src]
&self,
connectable: &P,
cancellable: Option<&Q>,
callback: R
)
fn can_reach_async_future<P: IsA<SocketConnectable> + Clone + 'static>(
&self,
connectable: &P
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]
&self,
connectable: &P
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn get_network_available(&self) -> bool
[src]
fn connect_network_changed<F: Fn(&Self, bool) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_network_available_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId