pub trait ClientInformation<T> {
// Required methods
fn create(transport: T) -> Self;
fn transport(&self) -> &T;
fn transport_mut(&mut self) -> &mut T;
fn into_inner(self) -> T;
}Expand description
Client utils methods
Required Methods§
Sourcefn transport_mut(&mut self) -> &mut T
fn transport_mut(&mut self) -> &mut T
Get mut referece to underlying transport
Sourcefn into_inner(self) -> T
fn into_inner(self) -> T
Consume client and return inner transport
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".