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