Skip to main content

WindowsBackendError

Struct WindowsBackendError 

Source
pub struct WindowsBackendError<R> {
    pub reason: WindowsBackendRefusal,
    pub targets: Vec<(IoTargetKey, Win32FileTarget)>,
    pub buffers: Option<Vec<R>>,
}
Expand description

A refused construction, handing back what it was given: the targets always, and the buffers unless the kernel was given them and could not be shown to have given them back.

Fields§

§reason: WindowsBackendRefusal

Why.

§targets: Vec<(IoTargetKey, Win32FileTarget)>

The targets.

§buffers: Option<Vec<R>>

The buffers, or None.

Trait Implementations§

Source§

impl<R> Debug for WindowsBackendError<R>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<R> !RefUnwindSafe for WindowsBackendError<R>

§

impl<R> !UnwindSafe for WindowsBackendError<R>

§

impl<R> Freeze for WindowsBackendError<R>
where Option<Vec<R>>: Freeze,

§

impl<R> Send for WindowsBackendError<R>
where Option<Vec<R>>: Send,

§

impl<R> Sync for WindowsBackendError<R>
where Option<Vec<R>>: Sync,

§

impl<R> Unpin for WindowsBackendError<R>
where Option<Vec<R>>: Unpin,

§

impl<R> UnsafeUnpin for WindowsBackendError<R>
where Option<Vec<R>>: UnsafeUnpin,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

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

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.