pub struct BodyTimeout(pub Duration);Expand description
Idle timeout between body chunks.
Tuple Fields§
§0: DurationTrait Implementations§
Source§impl Clone for BodyTimeout
impl Clone for BodyTimeout
Source§fn clone(&self) -> BodyTimeout
fn clone(&self) -> BodyTimeout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BodyTimeout
Source§impl Debug for BodyTimeout
impl Debug for BodyTimeout
impl Eq for BodyTimeout
Source§impl PartialEq for BodyTimeout
impl PartialEq for BodyTimeout
impl StructuralPartialEq for BodyTimeout
Auto Trait Implementations§
impl Forget for BodyTimeout
impl Freeze for BodyTimeout
impl Move for BodyTimeout
impl RefUnwindSafe for BodyTimeout
impl Send for BodyTimeout
impl Sync for BodyTimeout
impl Unpin for BodyTimeout
impl UnsafeUnpin for BodyTimeout
impl UnwindSafe for BodyTimeout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.