pub struct MessageIndex(/* private fields */);
Expand description
The type of the index of a message in the configuration.
“A total of 256 in-flight messages should be enough for everybody” ;-)
Trait Implementations§
Source§impl Clone for MessageIndex
impl Clone for MessageIndex
Source§fn clone(&self) -> MessageIndex
fn clone(&self) -> MessageIndex
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 moreSource§impl Debug for MessageIndex
impl Debug for MessageIndex
Source§impl Display for MessageIndex
impl Display for MessageIndex
Source§impl Hash for MessageIndex
impl Hash for MessageIndex
Source§impl IndexLike for MessageIndex
impl IndexLike for MessageIndex
Source§fn from_usize(value: usize) -> MessageIndex
fn from_usize(value: usize) -> MessageIndex
Convert a
usize
to the index.Source§fn invalid() -> MessageIndex
fn invalid() -> MessageIndex
The invalid (maximal) value.
Source§impl Ord for MessageIndex
impl Ord for MessageIndex
Source§fn cmp(&self, other: &MessageIndex) -> Ordering
fn cmp(&self, other: &MessageIndex) -> Ordering
1.21.0 · 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 MessageIndex
impl PartialEq for MessageIndex
Source§impl PartialOrd for MessageIndex
impl PartialOrd for MessageIndex
impl Copy for MessageIndex
impl Eq for MessageIndex
impl StructuralPartialEq for MessageIndex
Auto Trait Implementations§
impl Freeze for MessageIndex
impl RefUnwindSafe for MessageIndex
impl Send for MessageIndex
impl Sync for MessageIndex
impl Unpin for MessageIndex
impl UnwindSafe for MessageIndex
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