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 for MessageSequence
impl PartialEq for MessageSequence
source§impl PartialOrd for MessageSequence
impl PartialOrd for MessageSequence
impl Copy for MessageSequence
impl Eq for MessageSequence
impl StructuralPartialEq for MessageSequence
Auto Trait Implementations§
impl Freeze for MessageSequence
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> 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)