Type Alias ApplyEventResult

Source
type ApplyEventResult<T> = Result<Result<T, ExpectedStakeTableError>, StakeTableError>;
Expand description

The result of applying a stake table event:

  • Ok(Ok(())): success
  • Ok(Err(...)): expected error
  • Err(...): serious error

Aliased Type§

enum ApplyEventResult<T> {
    Ok(Result<T, ExpectedStakeTableError>),
    Err(StakeTableError),
}

Variants§

§1.0.0

Ok(Result<T, ExpectedStakeTableError>)

Contains the success value

§1.0.0

Err(StakeTableError)

Contains the error value