Trait fidl::for_fidl_message_crate::Body
source · 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.
Object Safety§
This trait is not object safe.