pub fn encode<E: Aerro>(sf: &ServiceFailure<E>, opts: &EncodeOptions) -> StatusExpand description
Encode a typed failure into a tonic::Status whose details() carries
the prost-encoded aerro envelope.
pub fn encode<E: Aerro>(sf: &ServiceFailure<E>, opts: &EncodeOptions) -> StatusEncode a typed failure into a tonic::Status whose details() carries
the prost-encoded aerro envelope.