Trait fbthrift_git::context_stack::ContextStack[][src]

pub trait ContextStack {
    fn pre_read(&mut self) -> Result<(), Error>;
fn post_read(&mut self, bytes: u32) -> Result<(), Error>;
fn pre_write(&mut self) -> Result<(), Error>;
fn post_write(&mut self, bytes: u32) -> Result<(), Error>; }

Required methods

fn pre_read(&mut self) -> Result<(), Error>[src]

Called before the request is read.

fn post_read(&mut self, bytes: u32) -> Result<(), Error>[src]

Called after the request is read.

fn pre_write(&mut self) -> Result<(), Error>[src]

Called before a response is writen.

fn post_write(&mut self, bytes: u32) -> Result<(), Error>[src]

Called after a response a written.

Loading content...

Implementations on Foreign Types

impl ContextStack for ()[src]

Loading content...

Implementors

Loading content...