Trait fidl::encoding::EncodableAsHandle

source ·
pub trait EncodableAsHandle: Into<<Self::Dialect as ResourceDialect>::Handle> {
    type Dialect: ResourceDialect<Handle: Into<Self>>;
}
Expand description

Indicates a type is encodable as a handle in a given resource dialect.

Required Associated Types§

source

type Dialect: ResourceDialect<Handle: Into<Self>>

What resource dialect can encode this object as a handle.

Object Safety§

This trait is not object safe.

Implementors§