pub struct AttributedBackendMessages<'a> { /* private fields */ }Expand description
Ordered held backend messages paired with their originating operations.
Implementations§
Source§impl<'a> AttributedBackendMessages<'a>
impl<'a> AttributedBackendMessages<'a>
Sourcepub const fn messages(&self) -> HeldBackendMessages<'a>
pub const fn messages(&self) -> HeldBackendMessages<'a>
Returns the existing un-attributed held-message view.
Sourcepub fn iter(
&self,
) -> impl ExactSizeIterator<Item = (Option<OperationId>, &'a BackendMessage)> + '_
pub fn iter( &self, ) -> impl ExactSizeIterator<Item = (Option<OperationId>, &'a BackendMessage)> + '_
Iterates over messages and their originating operation identities. Asynchronous backend messages carry no operation identity.
Trait Implementations§
Source§impl<'a> Clone for AttributedBackendMessages<'a>
impl<'a> Clone for AttributedBackendMessages<'a>
Source§fn clone(&self) -> AttributedBackendMessages<'a>
fn clone(&self) -> AttributedBackendMessages<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for AttributedBackendMessages<'a>
impl<'a> RefUnwindSafe for AttributedBackendMessages<'a>
impl<'a> Send for AttributedBackendMessages<'a>
impl<'a> Sync for AttributedBackendMessages<'a>
impl<'a> Unpin for AttributedBackendMessages<'a>
impl<'a> UnsafeUnpin for AttributedBackendMessages<'a>
impl<'a> UnwindSafe for AttributedBackendMessages<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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