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§
Required Methods§
Sourcefn into_endpoint(self) -> Self::Endpoint
fn into_endpoint(self) -> Self::Endpoint
Consume itself and transform into an Endpoint.