[][src]Trait sp_state_machine::InspectState

pub trait InspectState<H: Hasher, B: Backend<H>> {
    pub fn inspect_with<F: FnOnce()>(&self, f: F);
}

Trait for inspecting state in any backend.

Implemented for any backend.

Required methods

pub fn inspect_with<F: FnOnce()>(&self, f: F)[src]

Inspect state with a closure.

Self will be set as read-only externalities and inspection closure will be run against it.

Loading content...

Implementors

impl<H: Hasher, B: Backend<H>> InspectState<H, B> for B[src]

Loading content...