pub struct Inspection<A: Application> { /* private fields */ }Implementations§
Source§impl<A: Application> Inspection<A>
impl<A: Application> Inspection<A>
pub async fn read<R>( &self, read: impl FnOnce(&A::State) -> R, ) -> Result<At<R>, Error>
pub async fn state_at( &self, origin: Origin<A::State>, at: Position, ) -> Result<At<A::State>, Error>
pub async fn query<X>( &self, after: Position, ) -> impl Iterator<Item = Result<Entry<X>, Error>>
pub async fn query_through<X>( &self, after: Position, through: Position, ) -> impl Iterator<Item = Result<Entry<X>, Error>>
pub fn applied(&self) -> Position
pub fn stored(&self) -> Position
Auto Trait Implementations§
impl<A> Freeze for Inspection<A>
impl<A> RefUnwindSafe for Inspection<A>
impl<A> Send for Inspection<A>
impl<A> Sync for Inspection<A>
impl<A> Unpin for Inspection<A>
impl<A> UnsafeUnpin for Inspection<A>
impl<A> UnwindSafe for Inspection<A>
Blanket Implementations§
impl<T> Allocation for T
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