pub struct TimeLimited<P> { /* private fields */ }Available on crate feature
tokio only.Expand description
Bound a call with Tokio’s timer. Requires a time-enabled Tokio runtime. Cancellation is local; the server may still finish and bill the request.
Implementations§
Source§impl<P: Provider> TimeLimited<P>
impl<P: Provider> TimeLimited<P>
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for TimeLimited<P>where
P: Freeze,
impl<P> RefUnwindSafe for TimeLimited<P>where
P: RefUnwindSafe,
impl<P> Send for TimeLimited<P>where
P: Send,
impl<P> Sync for TimeLimited<P>where
P: Sync,
impl<P> Unpin for TimeLimited<P>where
P: Unpin,
impl<P> UnsafeUnpin for TimeLimited<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for TimeLimited<P>where
P: 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