TonicError

Trait TonicError 

Source
pub trait TonicError<'de>:
    Serialize
    + Deserialize<'de>
    + Display { }
Expand description

A derive trait to implement the TryFrom and From traits to and from tonic::Status for a custom error type.

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.

Implementors§