Macro safe_core::ok [] [src]

macro_rules! ok {
    ($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::Ok in futures paradigm.