pub struct QueuedMessageSnapshot { /* private fields */ }Expand description
Read-only startup snapshot containing only one middleware’s queued messages.
Implementations§
Source§impl QueuedMessageSnapshot
impl QueuedMessageSnapshot
Sourcepub fn views(&self) -> impl Iterator<Item = QueuedMessageView<'_>>
pub fn views(&self) -> impl Iterator<Item = QueuedMessageView<'_>>
Returns every queued item owned by this middleware, oldest first.
Trait Implementations§
Source§impl Clone for QueuedMessageSnapshot
impl Clone for QueuedMessageSnapshot
Source§fn clone(&self) -> QueuedMessageSnapshot
fn clone(&self) -> QueuedMessageSnapshot
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 moreSource§impl Default for QueuedMessageSnapshot
impl Default for QueuedMessageSnapshot
Source§fn default() -> QueuedMessageSnapshot
fn default() -> QueuedMessageSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueuedMessageSnapshot
impl RefUnwindSafe for QueuedMessageSnapshot
impl Send for QueuedMessageSnapshot
impl Sync for QueuedMessageSnapshot
impl Unpin for QueuedMessageSnapshot
impl UnsafeUnpin for QueuedMessageSnapshot
impl UnwindSafe for QueuedMessageSnapshot
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