Trait ux::prelude::TcpConnectionExt [−]
pub trait TcpConnectionExt: 'static {
pub fn get_graceful_disconnect(&self) -> bool;
pub fn set_graceful_disconnect(&self, graceful_disconnect: bool);
pub fn connect_property_graceful_disconnect_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self);
}Required methods
pub fn get_graceful_disconnect(&self) -> bool
pub fn set_graceful_disconnect(&self, graceful_disconnect: bool)
pub fn connect_property_graceful_disconnect_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&Self),
Implementors
impl<O> TcpConnectionExt for O where
O: IsA<TcpConnection>,
O: IsA<TcpConnection>,
pub fn get_graceful_disconnect(&self) -> bool
pub fn set_graceful_disconnect(&self, graceful_disconnect: bool)
pub fn connect_property_graceful_disconnect_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),