ps-promise 0.1.0-17

Promise-like owned futures
Documentation
1
2
3
4
5
6
7
use crate::{PromiseRejection, TaskFailure};

impl PromiseRejection for () {
    fn already_consumed() -> Self {}

    fn task_failed(_: TaskFailure) -> Self {}
}