pub struct ControlView(/* private fields */);Expand description
See ControlDb::view.
Implementations§
Source§impl ControlView
impl ControlView
Sourcepub fn principal_activity(&self) -> Result<Vec<(String, Vec<u8>)>>
pub fn principal_activity(&self) -> Result<Vec<(String, Vec<u8>)>>
Every last-seen row at the view’s instant (crate::activity):
what a snapshot carries. Empty for a database that never kept one and
for the RAM copy.
Sourcepub fn export_each<E>(
&self,
row: &mut dyn FnMut(ExportRow<'_>) -> Result<(), E>,
) -> Result<Result<(), E>>
pub fn export_each<E>( &self, row: &mut dyn FnMut(ExportRow<'_>) -> Result<(), E>, ) -> Result<Result<(), E>>
ControlDb::export_each over the state the view was taken at.
Auto Trait Implementations§
impl !RefUnwindSafe for ControlView
impl !UnwindSafe for ControlView
impl Freeze for ControlView
impl Send for ControlView
impl Sync for ControlView
impl Unpin for ControlView
impl UnsafeUnpin for ControlView
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