pub trait DisplayExt: Sized {
    // Required method
    fn into_tonic_err(
        self,
        code: Code,
        msg: &str,
        details: ErrorDetails,
    ) -> Status;
    // Provided methods
    fn into_tonic_internal_err(self, msg: &str) -> Status { ... }
    fn into_tonic_err_with_field_violation(
        self,
        field: &str,
        msg: &str,
    ) -> Status { ... }
}Required Methods§
fn into_tonic_err(self, code: Code, msg: &str, details: ErrorDetails) -> Status
Provided Methods§
fn into_tonic_internal_err(self, msg: &str) -> Status
fn into_tonic_err_with_field_violation(self, field: &str, msg: &str) -> Status
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.