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
Contains the success value
Contains the mistake value
Auto Trait Implementations
impl<S, M> RefUnwindSafe for Concern<S, M> where
M: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, M> UnwindSafe for Concern<S, M> where
M: UnwindSafe,
S: UnwindSafe,