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
.
Trait Implementations
sourceimpl Clone for MessageSequence
impl Clone for MessageSequence
sourcefn clone(&self) -> MessageSequence
fn clone(&self) -> MessageSequence
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageSequence
impl Debug for MessageSequence
sourceimpl Default for MessageSequence
impl Default for MessageSequence
sourcefn default() -> MessageSequence
fn default() -> MessageSequence
Returns the “default value” for a type. Read more
sourceimpl Hash for MessageSequence
impl Hash for MessageSequence
sourceimpl Ord for MessageSequence
impl Ord for MessageSequence
sourcefn cmp(&self, other: &MessageSequence) -> Ordering
fn cmp(&self, other: &MessageSequence) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MessageSequence> for MessageSequence
impl PartialEq<MessageSequence> for MessageSequence
sourcefn eq(&self, other: &MessageSequence) -> bool
fn eq(&self, other: &MessageSequence) -> bool
sourceimpl PartialOrd<MessageSequence> for MessageSequence
impl PartialOrd<MessageSequence> for MessageSequence
sourcefn partial_cmp(&self, other: &MessageSequence) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageSequence) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
sourcefn null_value() -> T
fn null_value() -> T
The none-equivalent value.