pub struct MessageRxCounterPk { /* private fields */ }Expand description
Owned key shared by the targeted and transient message receive counters.
Implementations§
Source§impl MessageRxCounterPk
impl MessageRxCounterPk
pub const fn new( conversation_id: ConversationId, sender_idx: u32, epoch: u64, ) -> MessageRxCounterPk
Trait Implementations§
Source§impl Clone for MessageRxCounterPk
impl Clone for MessageRxCounterPk
Source§fn clone(&self) -> MessageRxCounterPk
fn clone(&self) -> MessageRxCounterPk
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 moreSource§impl Debug for MessageRxCounterPk
impl Debug for MessageRxCounterPk
impl Eq for MessageRxCounterPk
Source§impl From<MessageRxCounterPkRef<'_>> for MessageRxCounterPk
impl From<MessageRxCounterPkRef<'_>> for MessageRxCounterPk
Source§fn from(key: MessageRxCounterPkRef<'_>) -> Self
fn from(key: MessageRxCounterPkRef<'_>) -> Self
Converts to this type from the input type.
Source§impl Hash for MessageRxCounterPk
impl Hash for MessageRxCounterPk
Source§impl PartialEq for MessageRxCounterPk
impl PartialEq for MessageRxCounterPk
Source§fn eq(&self, other: &MessageRxCounterPk) -> bool
fn eq(&self, other: &MessageRxCounterPk) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageRxCounterPk
Auto Trait Implementations§
impl Freeze for MessageRxCounterPk
impl RefUnwindSafe for MessageRxCounterPk
impl Send for MessageRxCounterPk
impl Sync for MessageRxCounterPk
impl Unpin for MessageRxCounterPk
impl UnsafeUnpin for MessageRxCounterPk
impl UnwindSafe for MessageRxCounterPk
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DynEntityId for T
impl<T> DynEntityId for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more