Function ttrpc::get_status[][src]

pub fn get_status(c: Code, msg: impl ToString) -> Status

Get ttrpc::Status from ttrpc::Code and a message.