Trait sozu_lib::network::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(
        &self,
        t: Token,
        timer: &mut Timer<Token>,
        front_timeout: &Duration
    ) -> SessionResult;
fn cancel_timeouts(&self, timer: &mut Timer<Token>);
fn last_event(&self) -> SteadyTime;
fn print_state(&self);
fn tokens(&self) -> Vec<Token>; }

Required Methods

Important traits for Vec<u8>

Implementors