Trait fidl_message::Body
source · pub trait Body {
type MarkerAtTopLevel: ValueTypeMarker<Owned = Self>;
type MarkerInResultUnion: ValueTypeMarker<Owned = Self>;
}
Expand description
A trait for types that can be a FIDL request/response body.
This is implemented for ()
and FIDL structs, tables, and unions.
Implementation of fidl_message::Body.
Required Associated Types§
sourcetype MarkerAtTopLevel: ValueTypeMarker<Owned = Self>
type MarkerAtTopLevel: ValueTypeMarker<Owned = Self>
The marker type to use when the body is at the top-level.
sourcetype MarkerInResultUnion: ValueTypeMarker<Owned = Self>
type MarkerInResultUnion: ValueTypeMarker<Owned = Self>
The marker type to use when the body is nested in a result union.