Trait HandlerExt

Source
pub trait HandlerExt<Op, Exts>: Handler<Op, Exts>
where Op: OperationShape,
{ // Provided method fn into_service(self) -> IntoService<Op, Self> where Self: Sized { ... } }
Expand description

An extension trait for Handler.

Provided Methods§

Source

fn into_service(self) -> IntoService<Op, Self>
where Self: Sized,

Convert the Handler into a [Service].

Implementors§

Source§

impl<Op, Exts, H> HandlerExt<Op, Exts> for H
where Op: OperationShape, H: Handler<Op, Exts>,