Skip to main content

CloneableLocalServerHandler

Trait CloneableLocalServerHandler 

Source
pub trait CloneableLocalServerHandler<___T: Transport = Channel> {
    // Required method
    fn clone(
        &mut self,
        request: Request<Clone, ___T>,
    ) -> impl Future<Output = ()>;
}
Expand description

A server handler for the Cloneable protocol.

See Cloneable for more details.

Required Methods§

Source

fn clone(&mut self, request: Request<Clone, ___T>) -> impl Future<Output = ()>

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<___H, ___T> CloneableLocalServerHandler<___T> for Local<___H>
where ___H: CloneableServerHandler<___T>, ___T: Transport,

Source§

async fn clone(&mut self, request: Request<Clone, ___T>)

Implementors§