[][src]Trait actix_web::server::HttpHandlerTask

pub trait HttpHandlerTask {
    fn poll_io(&mut self, io: &mut dyn Writer) -> Poll<bool, Error>;

    fn poll_completed(&mut self) -> Poll<(), Error> { ... }
fn disconnected(&mut self) { ... } }

Low level http request handler

Required methods

fn poll_io(&mut self, io: &mut dyn Writer) -> Poll<bool, Error>

Poll task when io object is available

Loading content...

Provided methods

fn poll_completed(&mut self) -> Poll<(), Error>

Poll task, this method is used before or after io object is available

fn disconnected(&mut self)

Connection is disconnected

Loading content...

Implementations on Foreign Types

impl HttpHandlerTask for Box<dyn HttpHandlerTask>[src]

fn poll_completed(&mut self) -> Poll<(), Error>[src]

fn disconnected(&mut self)[src]

Loading content...

Implementors

Loading content...