Skip to main content

TonicStatusWrapperExt

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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§