[][src]Trait pinky_swear::Cancellable

pub trait Cancellable<E> {
    pub fn cancel(&self, err: E);
}

Sometimes you just cannot keep your Promises.

Required methods

pub fn cancel(&self, err: E)[src]

Cancel the Promise you made, explaining why with an Error.

Loading content...

Implementors

impl<T, E> Cancellable<E> for Pinky<Result<T, E>>[src]

Loading content...