Struct failure::Compat [−][src]
A compatibility wrapper around an error type from this crate.
Compat
implements std::error::Error
, allowing the types from this
crate to be passed to interfaces that expect a type of that trait.
Methods
impl<E> Compat<E>
[src]
[−]
impl<E> Compat<E>
pub fn into_inner(self) -> E
[src]
[−]
pub fn into_inner(self) -> E
Unwraps this into the inner error.
Trait Implementations
impl<E: Debug> Debug for Compat<E>
[src]
[+]
impl<E: Debug> Debug for Compat<E>
impl<E: Copy> Copy for Compat<E>
[src]
impl<E: Copy> Copy for Compat<E>
impl<E: Clone> Clone for Compat<E>
[src]
[+]
impl<E: Clone> Clone for Compat<E>
impl<E: Eq> Eq for Compat<E>
[src]
impl<E: Eq> Eq for Compat<E>
impl<E: PartialEq> PartialEq for Compat<E>
[src]
[+]
impl<E: PartialEq> PartialEq for Compat<E>
impl<E: Hash> Hash for Compat<E>
[src]
[+]
impl<E: Hash> Hash for Compat<E>
impl<E: Default> Default for Compat<E>
[src]
[+]
impl<E: Default> Default for Compat<E>
impl<E: Display> Display for Compat<E>
[src]
[+]
impl<E: Display> Display for Compat<E>
impl<E: Display + Debug> StdError for Compat<E>
[src]
[+]
impl<E: Display + Debug> StdError for Compat<E>