HandleError
#[non_exhaustive]pub enum HandleError { ClosedHandle(HandleKind), InvalidHandle,}HandleError is for errors that might arise when using the low level handle
interface. For example trying to use a handle for an operation that has
already been closed out.
Variants
When using close on a handle, this error will be thrown if the resource for the handle has been removed from the session already
0: HandleKind
Trait implementations
impl Clone for HandleError
impl Debug for HandleError
impl Display for HandleError
fmt
View sourceParameters
- self: &Self
- __formatter: &mut ::core::fmt::Formatter
Returns
::core::fmt::Result