Trait fidl::encoding::HandleDispositionFor
source · pub trait HandleDispositionFor<D: ResourceDialect>: Debug {
// Required method
fn from_handle(
handle: D::Handle,
object_type: ObjectType,
rights: Rights,
) -> Self;
}
Expand description
Handle disposition struct used for a particular dialect.
Required Methods§
sourcefn from_handle(
handle: D::Handle,
object_type: ObjectType,
rights: Rights,
) -> Self
fn from_handle( handle: D::Handle, object_type: ObjectType, rights: Rights, ) -> Self
Wrap a handle in a handle disposition.
Object Safety§
This trait is not object safe.