Enum diem_operational_tool::command::ResultWrapper [−][src]
pub enum ResultWrapper<T> {
Result(T),
Error(String),
}Expand description
A result wrapper for displaying either a correct execution result or an error.
Variants
Error(String)Tuple Fields of Error
0: StringTrait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ResultWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for ResultWrapper<T> where
T: Send,
impl<T> Sync for ResultWrapper<T> where
T: Sync,
impl<T> Unpin for ResultWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for ResultWrapper<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.