pub struct DispatchTarget { /* private fields */ }Expand description
Exact poststate binding eligible to be told about changed permission.
Implementations§
Source§impl DispatchTarget
impl DispatchTarget
Sourcepub const fn new(
participant_id: ParticipantId,
binding_epoch: BindingEpoch,
) -> Self
pub const fn new( participant_id: ParticipantId, binding_epoch: BindingEpoch, ) -> Self
Captures one exact current participant binding.
Sourcepub const fn participant_id(self) -> ParticipantId
pub const fn participant_id(self) -> ParticipantId
Returns the permanent participant identity.
Sourcepub const fn binding_epoch(self) -> BindingEpoch
pub const fn binding_epoch(self) -> BindingEpoch
Returns the exact current binding, including connection incarnation.
Trait Implementations§
Source§impl Clone for DispatchTarget
impl Clone for DispatchTarget
Source§fn clone(&self) -> DispatchTarget
fn clone(&self) -> DispatchTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DispatchTarget
Source§impl Debug for DispatchTarget
impl Debug for DispatchTarget
impl Eq for DispatchTarget
Source§impl Ord for DispatchTarget
impl Ord for DispatchTarget
Source§fn cmp(&self, other: &DispatchTarget) -> Ordering
fn cmp(&self, other: &DispatchTarget) -> Ordering
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
Source§impl PartialEq for DispatchTarget
impl PartialEq for DispatchTarget
Source§impl PartialOrd for DispatchTarget
impl PartialOrd for DispatchTarget
impl StructuralPartialEq for DispatchTarget
Auto Trait Implementations§
impl Freeze for DispatchTarget
impl RefUnwindSafe for DispatchTarget
impl Send for DispatchTarget
impl Sync for DispatchTarget
impl Unpin for DispatchTarget
impl UnsafeUnpin for DispatchTarget
impl UnwindSafe for DispatchTarget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.