Module descriptor

Source

Structs§

Descriptor
For use cases where a simple wrapper around a RawDescriptor is needed, in order to e.g. implement AsRawDescriptor.
SafeDescriptor
Wraps a RawDescriptor and safely closes it when self falls out of scope.

Traits§

AsRawDescriptor
Trait for returning the underlying raw descriptor, without giving up ownership of the descriptor.
AsRawDescriptors
A trait similar to AsRawDescriptor but supports an arbitrary number of descriptors.
FromRawDescriptor
IntoRawDescriptor
Trait for forfeiting ownership of the current raw descriptor, and returning the raw descriptor