fidl

Trait Standalone

Source
pub trait Standalone<D>:
    TypeMarker<Owned = Self>
    + Decode<Self, D>
    + for<'a> ResourceTypeMarker<Borrowed<'a> = &'a mut Self> { }
Expand description

Marker trait implemented for FIDL resource structs, tables, and unions. These can be used with the standalone encoding/decoding API, but not the persistence API.

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§