Trait ClientExt
pub trait ClientExt:
Clone
+ Deref<Target = Context>
+ DerefMut {
// Provided methods
fn with_metadata(&self, metadata: impl Into<Metadata>) -> Self { ... }
fn with_timeout(&self, timeout: impl Into<Timeout>) -> Self { ... }
fn with_context(&self, context: impl Into<Context>) -> Self { ... }
}Available on crate feature
ttrpc only.Provided Methods§
fn with_metadata(&self, metadata: impl Into<Metadata>) -> Self
fn with_timeout(&self, timeout: impl Into<Timeout>) -> Self
fn with_context(&self, context: impl Into<Context>) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".