Struct zbus::MessageSequence
source · pub struct MessageSequence { /* private fields */ }
Expand description
A position in the stream of Message
objects received by a single zbus::Connection
.
Note: the relative ordering of values obtained from distinct zbus::Connection
objects is
not specified; only sequence numbers originating from the same connection should be compared.
Trait Implementations§
source§impl Clone for MessageSequence
impl Clone for MessageSequence
source§fn clone(&self) -> MessageSequence
fn clone(&self) -> MessageSequence
Returns a copy 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 MessageSequence
impl Debug for MessageSequence
source§impl Default for MessageSequence
impl Default for MessageSequence
source§fn default() -> MessageSequence
fn default() -> MessageSequence
Returns the “default value” for a type. Read more
source§impl Hash for MessageSequence
impl Hash for MessageSequence
source§impl Ord for MessageSequence
impl Ord for MessageSequence
source§fn cmp(&self, other: &MessageSequence) -> Ordering
fn cmp(&self, other: &MessageSequence) -> 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<MessageSequence> for MessageSequence
impl PartialEq<MessageSequence> for MessageSequence
source§fn eq(&self, other: &MessageSequence) -> bool
fn eq(&self, other: &MessageSequence) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MessageSequence> for MessageSequence
impl PartialOrd<MessageSequence> for MessageSequence
source§fn partial_cmp(&self, other: &MessageSequence) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageSequence) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MessageSequence
impl Eq for MessageSequence
impl StructuralEq for MessageSequence
impl StructuralPartialEq for MessageSequence
Auto Trait Implementations§
impl RefUnwindSafe for MessageSequence
impl Send for MessageSequence
impl Sync for MessageSequence
impl Unpin for MessageSequence
impl UnwindSafe for MessageSequence
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.