Trait HandleDispositionFor

pub trait HandleDispositionFor<D>: Debug
where D: ResourceDialect,
{ // Required method fn from_handle( handle: <D as ResourceDialect>::Handle, object_type: ObjectType, rights: Rights, ) -> Self; }
Expand description

Handle disposition struct used for a particular dialect.

Required Methods§

fn from_handle( handle: <D as ResourceDialect>::Handle, object_type: ObjectType, rights: Rights, ) -> Self

Wrap a handle in a handle disposition.

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.

Implementors§