[][src]Struct arnalisa::error::ConversionError

pub struct ConversionError<__T0, __T1, __T2> {
    pub function: __T0,
    pub value: __T1,
    pub message: __T2,
}

Fields

function: __T0value: __T1message: __T2

Methods

impl<__T0, __T1, __T2> ConversionError<__T0, __T1, __T2>[src]

pub fn fail<__T>(self) -> Result<__T, Error> where
    __T0: Into<String>,
    __T1: Into<Item>,
    __T2: Into<String>, 
[src]

Trait Implementations

impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for ConversionError<__T0, __T1, __T2>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for ConversionError<__T0, __T1, __T2>[src]

impl<__T0: Debug, __T1: Debug, __T2: Debug> Debug for ConversionError<__T0, __T1, __T2>[src]

impl<__T0, __T1, __T2> IntoError<Error> for ConversionError<__T0, __T1, __T2> where
    Error: Error + ErrorCompat,
    __T0: Into<String>,
    __T1: Into<Item>,
    __T2: Into<String>, 
[src]

type Source = NoneError

The underlying error

Auto Trait Implementations

impl<__T0, __T1, __T2> Unpin for ConversionError<__T0, __T1, __T2> where
    __T0: Unpin,
    __T1: Unpin,
    __T2: Unpin

impl<__T0, __T1, __T2> Send for ConversionError<__T0, __T1, __T2> where
    __T0: Send,
    __T1: Send,
    __T2: Send

impl<__T0, __T1, __T2> Sync for ConversionError<__T0, __T1, __T2> where
    __T0: Sync,
    __T1: Sync,
    __T2: Sync

impl<__T0, __T1, __T2> RefUnwindSafe for ConversionError<__T0, __T1, __T2> where
    __T0: RefUnwindSafe,
    __T1: RefUnwindSafe,
    __T2: RefUnwindSafe

impl<__T0, __T1, __T2> UnwindSafe for ConversionError<__T0, __T1, __T2> where
    __T0: UnwindSafe,
    __T1: UnwindSafe,
    __T2: UnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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