Struct Saga
aud
pub struct Saga<T> { /* fields omitted */ }
A sage of many adventures that can be told.
impl<T> Saga<T>
fn new(adventures: Vec<Adventure<T>>) -> Self
Creates a new saga from a vector of adventures
fn tell(&self, acc: T) -> Result<T, Failure<T>>
Tells a saga, reverts on failure and returns either the result or error