1 2 3 4 5 6 7
use crate::{PromiseRejection, TaskFailure}; impl PromiseRejection for () { fn already_consumed() -> Self {} fn task_failed(_: TaskFailure) -> Self {} }