pub struct AcceptedSocketTimeouts {
pub read: Option<Duration>,
pub write: Option<Duration>,
}Expand description
Per-blocking-call timeouts applied only to the accepted socket. These do not
bound accept, a complete request, or a complete response. None disables the
corresponding timeout; zero durations are invalid. The OS may round values.
Fields§
§read: Option<Duration>§write: Option<Duration>Trait Implementations§
Source§impl Clone for AcceptedSocketTimeouts
impl Clone for AcceptedSocketTimeouts
impl Copy for AcceptedSocketTimeouts
Source§impl Debug for AcceptedSocketTimeouts
impl Debug for AcceptedSocketTimeouts
Source§impl Default for AcceptedSocketTimeouts
impl Default for AcceptedSocketTimeouts
impl Eq for AcceptedSocketTimeouts
Source§impl PartialEq for AcceptedSocketTimeouts
impl PartialEq for AcceptedSocketTimeouts
impl StructuralPartialEq for AcceptedSocketTimeouts
Auto Trait Implementations§
impl Freeze for AcceptedSocketTimeouts
impl RefUnwindSafe for AcceptedSocketTimeouts
impl Send for AcceptedSocketTimeouts
impl Sync for AcceptedSocketTimeouts
impl Unpin for AcceptedSocketTimeouts
impl UnsafeUnpin for AcceptedSocketTimeouts
impl UnwindSafe for AcceptedSocketTimeouts
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