fuchsia_bluetooth::inspect

Trait ImmutableDataInspect

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

A trait representing the inspect data for a type T that will never be mutated. This trait allows for a simpler “fire and forget” representation of the inspect data associated with an object. This is because inspect handles for the data will never need to be accessed after creation.

Required Methods§

Source

fn new(data: &T, manager: Node) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§