[][src]Trait fbthrift::context_stack::ContextStack

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

Required methods

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

Called before the request is read.

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

Called after the request is read.

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

Called before a response is writen.

pub 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...