Skip to main content

WrappedChannelExt

Trait WrappedChannelExt 

Source
pub trait WrappedChannelExt {
    // Required method
    fn wrapped(self) -> WrappedChannel;
}
Expand description

An extension trait for tonic’s Channel that wraps it into a WrappedChannel.

Required Methods§

Source

fn wrapped(self) -> WrappedChannel

Wraps the channel into a WrappedChannel for observability.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl WrappedChannelExt for Channel

Implementors§