risingwave_common::error::tonic

Trait TonicStatusWrapperExt

source
pub trait TonicStatusWrapperExt: Into<TonicStatusWrapper> {
    // Required method
    fn with_client_side_service_name(
        self,
        _: impl Into<Cow<'static, str>>,
    ) -> TonicStatusWrapper;
}

Required Methods§

source

fn with_client_side_service_name( self, _: impl Into<Cow<'static, str>>, ) -> TonicStatusWrapper

Set the client side service name to provide better error message.

See the documentation on the field client_side_service_name for more details.

Object Safety§

This trait is not object safe.

Implementors§