Skip to main content

DrainDelta

Trait DrainDelta 

Source
pub trait DrainDelta<Event> {
    // Required methods
    fn drain_delta<'a>(&'a mut self) -> Drain<'a, Event>;
    fn has_changed(&self) -> bool;
    fn reset_changed(&mut self);
}

Required Methods§

Source

fn drain_delta<'a>(&'a mut self) -> Drain<'a, Event>

Source

fn has_changed(&self) -> bool

Source

fn reset_changed(&mut self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Memory, Event> DrainDelta<Event> for Store<Memory, Event>