Trait sp_state_machine::InspectState [−][src]
Trait for inspecting state in any backend.
Implemented for any backend.
Required methods
fn inspect_state<F: FnOnce() -> R, R>(&self, f: F) -> R
[src]
Inspect state with a closure.
Self will be set as read-only externalities and inspection closure will be run against it.
Returns the result of the closure.