pub trait ResultKind: Debug + 'static {
// Required methods
fn tp(&self) -> ResultType;
fn signature(&self) -> &'static str;
}Expand description
Describes how a domain-specific error maps into a unified result model.
Required Methods§
Sourcefn tp(&self) -> ResultType
fn tp(&self) -> ResultType
Returns the classification of the result (e.g. success, client error, service error).