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 duplicate 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 Freeze for FramedTcpListenConfig
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