Trait sozu_lib::ProxySession[][src]

pub trait ProxySession {
    fn protocol(&self) -> Protocol;
fn ready(&mut self) -> SessionResult;
fn process_events(&mut self, token: Token, events: Ready);
fn close(&mut self, poll: &mut Poll) -> CloseResult;
fn close_backend(&mut self, token: Token, poll: &mut Poll);
fn timeout(&mut self, t: Token) -> SessionResult;
fn last_event(&self) -> Instant;
fn print_state(&self);
fn tokens(&self) -> Vec<Token>;
fn shutting_down(&mut self) -> SessionResult; }

Required methods

Implementors