Trait fidl::encoding::ValueTypeMarker
source · pub trait ValueTypeMarker: TypeMarker {
type Borrowed<'a>: Encode<Self>;
// Required method
fn borrow<'a>(value: &'a Self::Owned) -> Self::Borrowed<'a>;
}
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).