pub struct NullHandleError(_);Available on Windows only.
Expand description
This is the error type used by HandleOrNull when attempting to convert
into a handle, to indicate that the value is null.
Trait Implementations
impl Clone for NullHandleError
source
impl Clone for NullHandleError
sourcefn clone(&self) -> NullHandleError
source
fn clone(&self) -> NullHandleError
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 NullHandleError
source
impl Debug for NullHandleError
sourceimpl Display for NullHandleError
source
impl Display for NullHandleError
sourceimpl Error for NullHandleError
source
impl Error for NullHandleError
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<NullHandleError> for NullHandleError
source
impl PartialEq<NullHandleError> for NullHandleError
sourcefn eq(&self, other: &NullHandleError) -> bool
source
fn eq(&self, other: &NullHandleError) -> bool
sourceThis method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &NullHandleError) -> bool
source
fn ne(&self, other: &NullHandleError) -> bool
sourceThis method tests for !=.
impl Eq for NullHandleError
sourceimpl StructuralEq for NullHandleError
sourceimpl StructuralPartialEq for NullHandleError
sourceAuto Trait Implementations
impl RefUnwindSafe for NullHandleError
impl Send for NullHandleError
impl Sync for NullHandleError
impl Unpin for NullHandleError
impl UnwindSafe for NullHandleError
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