Struct redo::Error [] [src]

pub struct Error<R, C: Command<R>>(pub C, pub C::Err);

An error kind that holds the error and the command that caused the error.

Trait Implementations

impl<R: Clone, C: Clone + Command<R>> Clone for Error<R, C> where
    C::Err: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<R: Copy, C: Copy + Command<R>> Copy for Error<R, C> where
    C::Err: Copy
[src]

impl<R: Debug, C: Debug + Command<R>> Debug for Error<R, C> where
    C::Err: Debug
[src]

[src]

Formats the value using the given formatter.

impl<R: Default, C: Default + Command<R>> Default for Error<R, C> where
    C::Err: Default
[src]

[src]

Returns the "default value" for a type. Read more

impl<R: Eq, C: Eq + Command<R>> Eq for Error<R, C> where
    C::Err: Eq
[src]

impl<R: PartialEq, C: PartialEq + Command<R>> PartialEq for Error<R, C> where
    C::Err: PartialEq
[src]

[src]

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

[src]

This method tests for !=.

impl<R: Hash, C: Hash + Command<R>> Hash for Error<R, C> where
    C::Err: Hash
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<R: Ord, C: Ord + Command<R>> Ord for Error<R, C> where
    C::Err: Ord
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl<R: PartialOrd, C: PartialOrd + Command<R>> PartialOrd for Error<R, C> where
    C::Err: PartialOrd
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<R, C: Command<R>> Display for Error<R, C> where
    C::Err: Display
[src]

[src]

Formats the value using the given formatter. Read more

impl<R, C: Command<R>> Error for Error<R, C> where
    R: Debug,
    C: Debug,
    C::Err: Error
[src]

[src]

A short description of the error. Read more

[src]

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