Skip to main content

encode

Function encode 

Source
pub fn encode<E: Aerro>(sf: &ServiceFailure<E>, opts: &EncodeOptions) -> Status
Expand description

Encode a typed failure into a tonic::Status whose details() carries the prost-encoded aerro envelope.