Skip to main content

InspectValue

Trait InspectValue 

Source
pub trait InspectValue {
    // Required method
    fn record_inspect(&self, node: &Node, key: &str);
}
Expand description

Records a vote or result onto an Inspect fuchsia_inspect::Node under key.

Value types that cannot implement this trait (for example, types from another crate) can be recorded with Election::record_inspect_with instead.

Required Methods§

Source

fn record_inspect(&self, node: &Node, key: &str)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl InspectValue for bool

Source§

fn record_inspect(&self, node: &Node, key: &str)

Source§

impl InspectValue for i64

Source§

fn record_inspect(&self, node: &Node, key: &str)

Source§

impl InspectValue for u32

Source§

fn record_inspect(&self, node: &Node, key: &str)

Source§

impl InspectValue for u64

Source§

fn record_inspect(&self, node: &Node, key: &str)

Implementors§