Skip to main content

EndpointExt

Trait EndpointExt 

Source
pub trait EndpointExt<S>: Sized + for<'a> Endpoint<'a, S> {
    // Provided method
    fn boxed(self) -> Boxed<S>
       where S: 'static { ... }
}
Expand description

Extra methods of endpoint.

Provided Methods§

Source

fn boxed(self) -> Boxed<S>
where S: 'static,

Box an endpoint.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S, T> EndpointExt<S> for T
where T: for<'a> Endpoint<'a, S>,