pub struct Timeout<E = ()> { /* private fields */ }
Expand description
Applies a timeout to requests.
Timeout transform is disabled if timeout is set to 0
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Timeout<E>
impl<E> RefUnwindSafe for Timeout<E>where
E: RefUnwindSafe,
impl<E> Send for Timeout<E>where
E: Send,
impl<E> Sync for Timeout<E>where
E: Sync,
impl<E> Unpin for Timeout<E>where
E: Unpin,
impl<E> UnwindSafe for Timeout<E>where
E: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)