[][src]Struct libjess::errors::WrappedError

pub struct WrappedError { /* fields omitted */ }

Custom I/O Error which adds context information to the original

Implementations

impl WrappedError[src]

pub fn into_inner(self) -> Option<Box<dyn Error>>[src]

Consume the error, returning the internal error if any

pub fn get_io_error(&self) -> Option<&Error>[src]

Get the inner io::error if any

pub fn from(kind: Kind) -> Self[src]

Create a new error from the original error and the path that provoced the error

pub fn io_error(base: Error, file: impl AsRef<Path>) -> Self[src]

Create IO error

Trait Implementations

impl Debug for WrappedError[src]

impl Default for WrappedError[src]

impl Display for WrappedError[src]

impl Error for WrappedError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.