Trait fbthrift_transport_response_handler::ResponseHandler[][src]

pub trait ResponseHandler: Clone {
    fn try_make_static_response_bytes(
        &mut self,
        service_name: &'static str,
        fn_name: &'static str,
        request_bytes: &[u8]
    ) -> Result<Option<Vec<u8>>>;
fn parse_response_bytes(
        &mut self,
        response_bytes: &[u8]
    ) -> Result<Option<usize>>; }

Required methods

fn try_make_static_response_bytes(
    &mut self,
    service_name: &'static str,
    fn_name: &'static str,
    request_bytes: &[u8]
) -> Result<Option<Vec<u8>>>
[src]

fn parse_response_bytes(
    &mut self,
    response_bytes: &[u8]
) -> Result<Option<usize>>
[src]

Loading content...

Implementors

impl ResponseHandler for DefaultResponseHandler[src]

Loading content...