pub struct SubscriptionId(/* private fields */);Expand description
Opaque identifier assigned to a state or event subscription.
IDs are unique within the running process for as long as the counter can represent another value. They carry no authority and cannot be used to create, resume, or access a subscription by themselves.
Implementations§
Trait Implementations§
Source§impl Clone for SubscriptionId
impl Clone for SubscriptionId
impl Copy for SubscriptionId
Source§impl Debug for SubscriptionId
impl Debug for SubscriptionId
Source§impl Display for SubscriptionId
impl Display for SubscriptionId
impl Eq for SubscriptionId
Source§impl Hash for SubscriptionId
impl Hash for SubscriptionId
Source§impl Ord for SubscriptionId
impl Ord for SubscriptionId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SubscriptionId
impl PartialEq for SubscriptionId
Source§impl PartialOrd for SubscriptionId
impl PartialOrd for SubscriptionId
impl StructuralPartialEq for SubscriptionId
Auto Trait Implementations§
impl Freeze for SubscriptionId
impl RefUnwindSafe for SubscriptionId
impl Send for SubscriptionId
impl Sync for SubscriptionId
impl Unpin for SubscriptionId
impl UnsafeUnpin for SubscriptionId
impl UnwindSafe for SubscriptionId
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