pub trait ErrorType: Decode<Self::Marker> {
    type Marker: ValueTypeMarker<Owned = Self>;
}
Expand description

A trait for types that can be the domain error variant of a FIDL response. This only applies to two-way methods that use error syntax. This is implemented for primitives and user-defined FIDL types. Implementation of fidl_message::ErrorType.

Required Associated Types§

source

type Marker: ValueTypeMarker<Owned = Self>

The marker type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E> ErrorType for E
where E: ValueTypeMarker<Owned = E> + Decode<E>,

§

type Marker = E