pub struct InvalidHandleError(_);Available on Windows only.
Expand description
This is the error type used by HandleOrInvalid when attempting to
convert into a handle, to indicate that the value is
INVALID_HANDLE_VALUE.
Trait Implementations
impl Clone for InvalidHandleError
source
impl Clone for InvalidHandleError
sourcefn clone(&self) -> InvalidHandleError
source
fn clone(&self) -> InvalidHandleError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for InvalidHandleError
source
impl Debug for InvalidHandleError
sourceimpl Display for InvalidHandleError
source
impl Display for InvalidHandleError
sourceimpl Error for InvalidHandleError
source
impl Error for InvalidHandleError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · source
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · sourceThe lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
source
fn backtrace(&self) -> Option<&Backtrace>
sourceReturns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0 · source
fn description(&self) -> &str
1.0.0 · source👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl PartialEq<InvalidHandleError> for InvalidHandleError
source
impl PartialEq<InvalidHandleError> for InvalidHandleError
sourcefn eq(&self, other: &InvalidHandleError) -> bool
source
fn eq(&self, other: &InvalidHandleError) -> bool
sourceThis method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &InvalidHandleError) -> bool
source
fn ne(&self, other: &InvalidHandleError) -> bool
sourceThis method tests for !=.
impl Eq for InvalidHandleError
sourceimpl StructuralEq for InvalidHandleError
sourceimpl StructuralPartialEq for InvalidHandleError
sourceAuto Trait Implementations
impl RefUnwindSafe for InvalidHandleError
impl Send for InvalidHandleError
impl Sync for InvalidHandleError
impl Unpin for InvalidHandleError
impl UnwindSafe for InvalidHandleError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
source
impl<T> ToOwned for T where
T: Clone,
sourcetype Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
source
fn clone_into(&self, target: &mut T)
sourceUses borrowed data to replace owned data, usually by cloning. Read more