pub trait Body: Decode<Self::MarkerAtTopLevel, NoHandleResourceDialect> + Decode<Self::MarkerInResultUnion, NoHandleResourceDialect> {
type MarkerAtTopLevel: ValueTypeMarker<Owned = Self> + ValueTypeMarker<Owned: Decode<Self::MarkerAtTopLevel, NoHandleResourceDialect>> + for<'a> ValueTypeMarker<Borrowed<'a>: Encode<Self::MarkerAtTopLevel, NoHandleResourceDialect>>;
type MarkerInResultUnion: ValueTypeMarker<Owned = Self> + ValueTypeMarker<Owned: Decode<Self::MarkerInResultUnion, NoHandleResourceDialect>> + for<'a> ValueTypeMarker<Borrowed<'a>: Encode<Self::MarkerInResultUnion, NoHandleResourceDialect>>;
}
Expand description
Implementation of fidl_message::Body.
Required Associated Types§
Sourcetype MarkerAtTopLevel: ValueTypeMarker<Owned = Self> + ValueTypeMarker<Owned: Decode<Self::MarkerAtTopLevel, NoHandleResourceDialect>> + for<'a> ValueTypeMarker<Borrowed<'a>: Encode<Self::MarkerAtTopLevel, NoHandleResourceDialect>>
type MarkerAtTopLevel: ValueTypeMarker<Owned = Self> + ValueTypeMarker<Owned: Decode<Self::MarkerAtTopLevel, NoHandleResourceDialect>> + for<'a> ValueTypeMarker<Borrowed<'a>: Encode<Self::MarkerAtTopLevel, NoHandleResourceDialect>>
The marker type to use when the body is at the top-level.
Sourcetype MarkerInResultUnion: ValueTypeMarker<Owned = Self> + ValueTypeMarker<Owned: Decode<Self::MarkerInResultUnion, NoHandleResourceDialect>> + for<'a> ValueTypeMarker<Borrowed<'a>: Encode<Self::MarkerInResultUnion, NoHandleResourceDialect>>
type MarkerInResultUnion: ValueTypeMarker<Owned = Self> + ValueTypeMarker<Owned: Decode<Self::MarkerInResultUnion, NoHandleResourceDialect>> + for<'a> ValueTypeMarker<Borrowed<'a>: Encode<Self::MarkerInResultUnion, NoHandleResourceDialect>>
The marker type to use when the body is nested in a result union.
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.