pub struct ThrottleState<Item, O, Param, BoxedSub> { /* private fields */ }Trait Implementations§
Source§impl<Item, O, Param, BoxedSub> Subscription for ThrottleState<Item, O, Param, BoxedSub>where
Param: ThrottleParam<Item>,
BoxedSub: Subscription,
impl<Item, O, Param, BoxedSub> Subscription for ThrottleState<Item, O, Param, BoxedSub>where
Param: ThrottleParam<Item>,
BoxedSub: Subscription,
Source§fn unsubscribe(self)
fn unsubscribe(self)
Cancel the subscription (terminal operation, consumes self)
Source§fn unsubscribe_when_dropped(self) -> SubscriptionGuard<Self>where
Self: Sized,
fn unsubscribe_when_dropped(self) -> SubscriptionGuard<Self>where
Self: Sized,
Activates “RAII” behavior for this subscription. That means
unsubscribe() will be called automatically as soon as the returned
value goes out of scope. Read moreAuto Trait Implementations§
impl<Item, O, Param, BoxedSub> Freeze for ThrottleState<Item, O, Param, BoxedSub>
impl<Item, O, Param, BoxedSub> RefUnwindSafe for ThrottleState<Item, O, Param, BoxedSub>
impl<Item, O, Param, BoxedSub> Send for ThrottleState<Item, O, Param, BoxedSub>
impl<Item, O, Param, BoxedSub> Sync for ThrottleState<Item, O, Param, BoxedSub>
impl<Item, O, Param, BoxedSub> Unpin for ThrottleState<Item, O, Param, BoxedSub>
impl<Item, O, Param, BoxedSub> UnwindSafe for ThrottleState<Item, O, Param, BoxedSub>
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> BoxedSubscriptionInner for Twhere
T: Subscription,
impl<T> BoxedSubscriptionInner for Twhere
T: Subscription,
fn boxed_unsubscribe(self: Box<T>)
fn boxed_is_closed(&self) -> bool
Source§impl<T> IntoBoxedSubscription<BoxedSubscription> for Twhere
T: Subscription + 'static,
impl<T> IntoBoxedSubscription<BoxedSubscription> for Twhere
T: Subscription + 'static,
Source§fn into_boxed(self) -> BoxedSubscription
fn into_boxed(self) -> BoxedSubscription
Convert this subscription into a boxed subscription.
Source§impl<T> IntoBoxedSubscription<BoxedSubscriptionSend> for Twhere
T: Subscription + Send + 'static,
impl<T> IntoBoxedSubscription<BoxedSubscriptionSend> for Twhere
T: Subscription + Send + 'static,
Source§fn into_boxed(self) -> BoxedSubscriptionSend
fn into_boxed(self) -> BoxedSubscriptionSend
Convert this subscription into a boxed subscription.