pub struct Throttled<T, P> {
pub inner: T,
pub pending: Arc<P>,
}Fields§
§inner: T§pending: Arc<P>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, P> Freeze for Throttled<T, P>where
T: Freeze,
impl<T, P> RefUnwindSafe for Throttled<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
impl<T, P> Send for Throttled<T, P>
impl<T, P> Sync for Throttled<T, P>
impl<T, P> Unpin for Throttled<T, P>where
T: Unpin,
impl<T, P> UnwindSafe for Throttled<T, P>where
T: UnwindSafe,
P: RefUnwindSafe,
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