Skip to main content

Error

Enum Error 

Source
pub enum Error<E, F> {
    Completion(F),
    Reactor {
        cause: E,
        completion: Option<F>,
    },
    File(E),
    Tuning,
}
Expand description

Exact native failure while draining one driver generation.

Variants§

§

Completion(F)

§

Reactor

Fields

§cause: E
§completion: Option<F>
§

File(E)

§

Tuning

Trait Implementations§

Source§

impl<E: Clone, F: Clone> Clone for Error<E, F>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<E: Copy, F: Copy> Copy for Error<E, F>

Source§

impl<E: Debug, F: Debug> Debug for Error<E, F>

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<E: Eq, F: Eq> Eq for Error<E, F>

Source§

impl<E, F> From<F> for Error<E, F>

Source§

fn from(fault: F) -> Self

Converts to this type from the input type.
Source§

impl<E: PartialEq, F: PartialEq> PartialEq for Error<E, F>

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<E: PartialEq, F: PartialEq> StructuralPartialEq for Error<E, F>

Auto Trait Implementations§

§

impl<E, F> Forget for Error<E, F>

§

impl<E, F> Freeze for Error<E, F>
where F: Freeze, E: Freeze, Option<F>: Freeze,

§

impl<E, F> RefUnwindSafe for Error<E, F>

§

impl<E, F> Send for Error<E, F>
where F: Send, E: Send, Option<F>: Send,

§

impl<E, F> Sync for Error<E, F>
where F: Sync, E: Sync, Option<F>: Sync,

§

impl<E, F> Unpin for Error<E, F>
where F: Unpin, E: Unpin, Option<F>: Unpin,

§

impl<E, F> UnsafeUnpin for Error<E, F>

§

impl<E, F> UnwindSafe for Error<E, F>

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> CloneToUninit for T
where T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Convert<T> for T

Source§

fn into(self) -> T

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.