Macro safe_core::err [] [src]

macro_rules! err {
    ($elt:expr) => { ... };
}

This is the equivalent of Result::Ok() adapted to deal with futures. This should be used to construct the return type equivalent of Result::Err in futures paradigm.