Struct NullHandleError

pub struct NullHandleError(pub(in ::os::windows::io::handle) ());

This is the error type used by HandleOrNull when attempting to convert into a handle, to indicate that the value is null.

Fields

0: ()

Trait Implementations

impl Clone for NullHandleError

fn clone(&self) -> NullHandleError

impl Debug for NullHandleError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for NullHandleError

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

impl Eq for NullHandleError

fn assert_fields_are_eq(&self)

impl Error for NullHandleError

impl PartialEq for NullHandleError

fn eq(&self, other: &NullHandleError) -> bool

impl StructuralPartialEq for NullHandleError

Auto Trait Implementations

impl Freeze for NullHandleError

impl RefUnwindSafe for NullHandleError

impl Send for NullHandleError

impl Sync for NullHandleError

impl Unpin for NullHandleError

impl UnsafeUnpin for NullHandleError

impl UnwindSafe for NullHandleError

Blanket Implementations

impl<T> Any for NullHandleError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for NullHandleError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for NullHandleError where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for NullHandleError where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for NullHandleError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for NullHandleError where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for NullHandleError

impl<T> ToOwned for NullHandleError where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for NullHandleError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for NullHandleError where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for NullHandleError where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for NullHandleError where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>