pub struct Timeout<T> { /* private fields */ }
Expand description
Applies a timeout to requests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Timeout<T>where
T: Freeze,
impl<T> RefUnwindSafe for Timeout<T>where
T: RefUnwindSafe,
impl<T> Send for Timeout<T>where
T: Send,
impl<T> Sync for Timeout<T>where
T: Sync,
impl<T> Unpin for Timeout<T>where
T: Unpin,
impl<T> UnwindSafe for Timeout<T>where
T: 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
)