Trait gio::prelude::TcpConnectionExt
source · [−]pub trait TcpConnectionExt: 'static {
fn is_graceful_disconnect(&self) -> bool;
fn set_graceful_disconnect(&self, graceful_disconnect: bool);
fn connect_graceful_disconnect_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn is_graceful_disconnect(&self) -> bool
source
fn set_graceful_disconnect(&self, graceful_disconnect: bool)
sourcefn connect_graceful_disconnect_notify<F: Fn(&Self) + 'static>(