Skip to main content

InspectData

Trait InspectData 

Source
pub trait InspectData<T> {
    // Required method
    fn new(object: &T, inspect: Node) -> Self;
}
Expand description

Represents inspect data that is tied to a specific object. This inspect data and the object of type T should always be bundled together.

Required Methods§

Source

fn new(object: &T, inspect: Node) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl InspectData<BondingData> for BondingDataInspect

Available on Fuchsia only.
Source§

impl InspectData<HostInfo> for HostInfoInspect

Available on Fuchsia only.
Source§

impl<T, I: ImmutableDataInspect<T>> InspectData<T> for I

Available on Fuchsia only.