Enum outcome::Concern[][src]

pub enum Concern<S, M> {
    Success(S),
    Mistake(M),
}
Expand description

(WIP Name) Concern is a type that can represent a Success, or Mistake.

This type is currently planned to be used for the unstable TryV2 trait.

See the module documentation for details.

Variants

Success(S)

Contains the success value

Mistake(M)

Contains the mistake value

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.