pub struct SubscriptionEntry {
pub task_id: TaskId,
pub filter: EventFilter,
pub triggered: bool,
pub canceled: bool,
}Expand description
State record for a single subscription.
Fields§
§task_id: TaskIdThe subscribing task.
filter: EventFilterThe event filter.
triggered: boolSet when the subscription has been triggered. One-shot: cleared after promotion.
canceled: boolSet when the subscription has been explicitly canceled.
Trait Implementations§
Source§impl Clone for SubscriptionEntry
impl Clone for SubscriptionEntry
Source§fn clone(&self) -> SubscriptionEntry
fn clone(&self) -> SubscriptionEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubscriptionEntry
impl RefUnwindSafe for SubscriptionEntry
impl Send for SubscriptionEntry
impl Sync for SubscriptionEntry
impl Unpin for SubscriptionEntry
impl UnsafeUnpin for SubscriptionEntry
impl UnwindSafe for SubscriptionEntry
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