Trait fidl::encoding::ValueTypeMarker
source · pub trait ValueTypeMarker: TypeMarker {
type Borrowed<'a>;
// Required method
fn borrow(value: &Self::Owned) -> Self::Borrowed<'_>;
}
Expand description
A FIDL value type marker.
Value types are guaranteed to never contain handles. As a result, they can
be encoded by immutable reference (or by value for Copy
types).
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.