pub struct ListFlowTracer<T: ListFlowSpec> { /* private fields */ }
Implementations§
Source§impl<T: ListFlowSpec> ListFlowTracer<T>
impl<T: ListFlowSpec> ListFlowTracer<T>
pub fn new(path: Path) -> (Self, ListFlowWatcher<T>)
pub fn add_record(&self, id: T::Id, record: T::Record)
pub fn update_record(&self, id: T::Id, update: impl Into<T::Update>)
pub fn remove_record(&self, id: T::Id)
pub fn full_snapshot(&self, records: BTreeMap<T::Id, T::Record>)
pub fn clear(&self)
Methods from Deref<Target = Tracer<ListFlowState<T>>>§
Sourcepub fn description(&self) -> &Description
pub fn description(&self) -> &Description
Returns a reference to a Description
of the Tracer
.
Trait Implementations§
Source§impl<T: Clone + ListFlowSpec> Clone for ListFlowTracer<T>
impl<T: Clone + ListFlowSpec> Clone for ListFlowTracer<T>
Source§fn clone(&self) -> ListFlowTracer<T>
fn clone(&self) -> ListFlowTracer<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug + ListFlowSpec> Debug for ListFlowTracer<T>
impl<T: Debug + ListFlowSpec> Debug for ListFlowTracer<T>
Source§impl<T: ListFlowSpec> Deref for ListFlowTracer<T>
impl<T: ListFlowSpec> Deref for ListFlowTracer<T>
Source§impl<T: ListFlowSpec> DerefMut for ListFlowTracer<T>
impl<T: ListFlowSpec> DerefMut for ListFlowTracer<T>
Auto Trait Implementations§
impl<T> Freeze for ListFlowTracer<T>
impl<T> !RefUnwindSafe for ListFlowTracer<T>
impl<T> Send for ListFlowTracer<T>
impl<T> Sync for ListFlowTracer<T>
impl<T> Unpin for ListFlowTracer<T>
impl<T> !UnwindSafe for ListFlowTracer<T>
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