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

pub fn get_error_kind_from_header(header: &Error) -> ErrorHeaderKind

Get the ErrorHeaderKind enum that corresponds to the error in the protobuf message. Returns ErrorHeaderKind::Other if no match found.