Struct tracing_causality::Updates
source · [−]pub struct Updates { /* private fields */ }
Implementations
sourceimpl Updates
impl Updates
pub fn is_empty(&self) -> bool
sourcepub fn is_disconnected(&self) -> bool
pub fn is_disconnected(&self) -> bool
Returns true
if the span that these Updates
are being provided for
has been closed.
pub fn next(&self) -> Option<Update>
pub fn into_iter(self) -> impl Iterator<Item = Update>
pub fn into_stream(self) -> impl Stream
sourcepub fn drain(&self) -> impl ExactSizeIterator<Item = Update> + '_
pub fn drain(&self) -> impl ExactSizeIterator<Item = Update> + '_
Produces an iterator over all Update
s currently sitting in the
the channel.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Updates
impl Send for Updates
impl Sync for Updates
impl Unpin for Updates
impl UnwindSafe for Updates
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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