pub trait CloneableClientSender {
type Transport: Transport;
// Required method
fn clone<___R>(
&self,
request: &mut ___R,
) -> Result<SendFuture<'_, Self::Transport>, EncodeError>
where ___R: Encode<<Self::Transport as Transport>::SendBuffer, Encoded = WireCloneableCloneRequest>;
}
Expand description
A helper trait for the Cloneable
client sender.
Required Associated Types§
Required Methods§
fn clone<___R>(
&self,
request: &mut ___R,
) -> Result<SendFuture<'_, Self::Transport>, EncodeError>where
___R: Encode<<Self::Transport as Transport>::SendBuffer, Encoded = WireCloneableCloneRequest>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.