Trait worker::DurableObject [−][src]
pub trait DurableObject {
fn new(state: State, env: Env) -> Self;
fn fetch<'life0, 'async_trait>(
&'life0 mut self,
req: Request
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + 'async_trait, Global>>
where
'life0: 'async_trait,
Self: 'async_trait;
}