Function tikv::storage::errors::get_tag_from_header[][src]

pub fn get_tag_from_header(header: &Error) -> &'static str

Get the metric tag of the error in the protobuf message. Returns “other” if no match found.