pub trait OperationShapeExt: OperationShape {
// Provided methods
fn from_handler<H, Exts>(handler: H) -> Operation<IntoService<Self, H>>
where H: Handler<Self, Exts>,
Self: Sized { ... }
fn from_service<S, Exts, PollError>(
svc: S
) -> Operation<Normalize<Self, S, PollError>>
where S: OperationService<Self, Exts, PollError>,
Self: Sized { ... }
}Expand description
An extension trait over OperationShape.