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
impl 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