pub trait ErrorType: Decode<Self::Marker, DefaultFuchsiaResourceDialect> {
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§
Sourcetype Marker: ValueTypeMarker<Owned = Self>
type Marker: ValueTypeMarker<Owned = Self>
The marker type.
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.