Struct fluvio_future::net::tcp_stream::KeepaliveOpts
source · pub struct KeepaliveOpts {
pub time: Option<Duration>,
pub interval: Option<Duration>,
pub retries: Option<u32>,
}
Fields§
§time: Option<Duration>
§interval: Option<Duration>
§retries: Option<u32>
Trait Implementations§
source§impl Clone for KeepaliveOpts
impl Clone for KeepaliveOpts
source§fn clone(&self) -> KeepaliveOpts
fn clone(&self) -> KeepaliveOpts
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 KeepaliveOpts
impl Debug for KeepaliveOpts
source§impl Default for KeepaliveOpts
impl Default for KeepaliveOpts
source§impl From<&KeepaliveOpts> for TcpKeepalive
impl From<&KeepaliveOpts> for TcpKeepalive
source§fn from(value: &KeepaliveOpts) -> Self
fn from(value: &KeepaliveOpts) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for KeepaliveOpts
impl Send for KeepaliveOpts
impl Sync for KeepaliveOpts
impl Unpin for KeepaliveOpts
impl UnwindSafe for KeepaliveOpts
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