fidl::for_fidl_message_crate

Trait 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§

Source

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.

Source

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.

Implementations on Foreign Types§

Source§

impl Body for ()

Implementors§