Struct message_io::adapters::framed_tcp::FramedTcpConnectConfig
source · pub struct FramedTcpConnectConfig { /* private fields */ }
Implementations§
source§impl FramedTcpConnectConfig
impl FramedTcpConnectConfig
sourcepub fn with_keepalive(self, keepalive: TcpKeepalive) -> Self
pub fn with_keepalive(self, keepalive: TcpKeepalive) -> Self
Enables TCP keepalive settings on the socket.
Trait Implementations§
source§impl Clone for FramedTcpConnectConfig
impl Clone for FramedTcpConnectConfig
source§fn clone(&self) -> FramedTcpConnectConfig
fn clone(&self) -> FramedTcpConnectConfig
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 FramedTcpConnectConfig
impl Debug for FramedTcpConnectConfig
source§impl Default for FramedTcpConnectConfig
impl Default for FramedTcpConnectConfig
source§fn default() -> FramedTcpConnectConfig
fn default() -> FramedTcpConnectConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FramedTcpConnectConfig
impl Send for FramedTcpConnectConfig
impl Sync for FramedTcpConnectConfig
impl Unpin for FramedTcpConnectConfig
impl UnwindSafe for FramedTcpConnectConfig
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