Trait sapio_contrib::contracts::derivatives::exploding::Explodes [−][src]
Generic functionality required for Exploding contracts
Provided methods
fn explodes<'a>() -> Option<ThenFunc<'a, Self>>
[src]
What to do when the timeout expires
fn strikes<'a>() -> Option<ThenFunc<'a, Self>>
[src]
what to do when the holder wishes to strike
Implementors
impl<T> Explodes for ExplodingOption<T> where
GenericBet: TryFrom<T, Error = CompilationError>,
T: Clone,
[src]
GenericBet: TryFrom<T, Error = CompilationError>,
T: Clone,
fn explodes<'a>() -> Option<ThenFunc<'a, Self>>
[src]
fn strikes<'a>() -> Option<ThenFunc<'a, Self>>
[src]
impl<T> Explodes for UnderFundedExplodingOption<T> where
GenericBet: TryFrom<T, Error = CompilationError>,
T: Clone,
[src]
GenericBet: TryFrom<T, Error = CompilationError>,
T: Clone,