Trait lambda_runtime::Handler [−][src]
pub trait Handler<A, B> {
type Error;
type Fut: Future<Output = Result<B, Self::Error>>;
fn call(&self, event: A, context: Context) -> Self::Fut;
}
Expand description
A trait describing an asynchronous function A
to B
.