Trait sp_state_machine::InspectState[][src]

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

Trait for inspecting state in any backend.

Implemented for any backend.

Required methods

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...