Trait CloneableClientSender

Source
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§

Source

type Transport: Transport

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl<___T> CloneableClientSender for ClientSender<___T, Cloneable>
where ___T: Transport,

Source§

type Transport = ___T

Source§

fn clone<___R>( &self, request: &mut ___R, ) -> Result<SendFuture<'_, Self::Transport>, EncodeError>
where ___R: Encode<<Self::Transport as Transport>::SendBuffer, Encoded = WireCloneableCloneRequest>,

Implementors§