Trait sapio_contrib::contracts::derivatives::exploding::Explodes[][src]

pub trait Explodes: 'static + Sized {
    fn explodes<'a>() -> Option<ThenFunc<'a, Self>> { ... }
fn strikes<'a>() -> Option<ThenFunc<'a, Self>> { ... } }

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

Loading content...

Implementors

impl<T> Explodes for ExplodingOption<T> where
    GenericBet: TryFrom<T, Error = CompilationError>,
    T: Clone
[src]

impl<T> Explodes for UnderFundedExplodingOption<T> where
    GenericBet: TryFrom<T, Error = CompilationError>,
    T: Clone
[src]

Loading content...