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§

source

type MarkerAtTopLevel: ValueTypeMarker<Owned = Self>

The marker type to use when the body is at the top-level.

source

type MarkerInResultUnion: ValueTypeMarker<Owned = Self>

The marker type to use when the body is nested in a result union.

Implementations on Foreign Types§

source§

impl Body for ()

Implementors§

source§

impl<T> Body for T
where T: Persistable,