pub struct ReceiveTimeout;
Available on crate feature
socket
only.Expand description
Specify the receiving timeout until reporting an error.
Trait Implementations§
source§impl Clone for ReceiveTimeout
impl Clone for ReceiveTimeout
source§fn clone(&self) -> ReceiveTimeout
fn clone(&self) -> ReceiveTimeout
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 ReceiveTimeout
impl Debug for ReceiveTimeout
source§impl GetSockOpt for ReceiveTimeout
impl GetSockOpt for ReceiveTimeout
source§impl Hash for ReceiveTimeout
impl Hash for ReceiveTimeout
source§impl PartialEq<ReceiveTimeout> for ReceiveTimeout
impl PartialEq<ReceiveTimeout> for ReceiveTimeout
source§fn eq(&self, other: &ReceiveTimeout) -> bool
fn eq(&self, other: &ReceiveTimeout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.