[−][src]Trait netlify_lambda::Handler
A trait describing an asynchronous function A to B.
Associated Types
type Error[src]
Errors returned by this handler.
type Fut: Future<Output = Result<B, Self::Error>>[src]
Response of this handler.
Required methods
Loading content...Implementors
impl<F, A, B, Error, Fut> Handler<A, B> for HandlerFn<F> where
F: Fn(A, Context) -> Fut,
Fut: Future<Output = Result<B, Error>> + Send,
Error: Into<Box<dyn Error + Send + Sync + 'static>> + Display, [src]
F: Fn(A, Context) -> Fut,
Fut: Future<Output = Result<B, Error>> + Send,
Error: Into<Box<dyn Error + Send + Sync + 'static>> + Display,