IntoEndpoint

Trait IntoEndpoint 

Source
pub trait IntoEndpoint {
    type Output;
    type Endpoint: Endpoint<Output = Self::Output>;

    // Required method
    fn into_endpoint(self) -> Self::Endpoint;
}
Expand description

Trait representing the transformation into an Endpoint.

Required Associated Types§

Source

type Output

The inner type of associated Endpoint.

Source

type Endpoint: Endpoint<Output = Self::Output>

The type of transformed Endpoint.

Required Methods§

Source

fn into_endpoint(self) -> Self::Endpoint

Consume itself and transform into an Endpoint.

Implementors§