#[repr(transparent)]pub struct ChannelSequence(pub u16);Expand description
RNS 1.4.2 Channel sequence number: the ordering key for reliable in-order delivery.
Tuple Fields§
§0: u16Implementations§
Source§impl ChannelSequence
impl ChannelSequence
pub const fn next(self) -> ChannelSequence
Trait Implementations§
Source§impl Clone for ChannelSequence
impl Clone for ChannelSequence
Source§fn clone(&self) -> ChannelSequence
fn clone(&self) -> ChannelSequence
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 ChannelSequence
Source§impl Debug for ChannelSequence
impl Debug for ChannelSequence
Source§impl Default for ChannelSequence
impl Default for ChannelSequence
Source§fn default() -> ChannelSequence
fn default() -> ChannelSequence
Returns the “default value” for a type. Read more
impl Eq for ChannelSequence
Source§impl Hash for ChannelSequence
impl Hash for ChannelSequence
Source§impl Ord for ChannelSequence
impl Ord for ChannelSequence
Source§fn cmp(&self, other: &ChannelSequence) -> Ordering
fn cmp(&self, other: &ChannelSequence) -> 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 ChannelSequence
impl PartialEq for ChannelSequence
Source§impl PartialOrd for ChannelSequence
impl PartialOrd for ChannelSequence
impl StructuralPartialEq for ChannelSequence
Auto Trait Implementations§
impl Freeze for ChannelSequence
impl RefUnwindSafe for ChannelSequence
impl Send for ChannelSequence
impl Sync for ChannelSequence
impl Unpin for ChannelSequence
impl UnsafeUnpin for ChannelSequence
impl UnwindSafe for ChannelSequence
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