pub fn is_not_found(status: &Status) -> boolExpand description
true for the NotFound status: the broker does not know the order or the instrument.
§Examples
use brokapi_tbank::error::is_not_found;
use tonic::Status;
assert!(is_not_found(&Status::not_found("50005")));
assert!(!is_not_found(&Status::unavailable("x")));