Struct blunder::Blunder [] [src]

pub struct Blunder<T: StdError + Clone> { /* fields omitted */ }

Generic af struct for errror handling Designed to host anything that implements error::Error trait Yet can host whatever (like errno from libc)

Methods

impl<T: StdError + Clone> Blunder<T>
[src]

Optional reasoning behind such behavior. Think "Client doesn't understand XXX cipher"

Trait Implementations

impl<T: Debug + StdError + Clone> Debug for Blunder<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq + StdError + Clone> PartialEq for Blunder<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: StdError + Copy + Clone> Deref for Blunder<T>
[src]

Because we want easy switch/case on kind...

The resulting type after dereferencing

The method called to dereference a value

impl<T: StdError + Clone> StdError for Blunder<T>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<T: StdError + Clone> Display for Blunder<T>
[src]

Formats the value using the given formatter. Read more

impl<E: StdError + Clone> From<E> for Blunder<E>
[src]

Performs the conversion.