[][src]Struct fbthrift_transport::configuration::AsyncTransportConfiguration

pub struct AsyncTransportConfiguration<H> where
    H: ResponseHandler
{ /* fields omitted */ }

Implementations

impl<H> AsyncTransportConfiguration<H> where
    H: ResponseHandler
[src]

pub fn new(response_handler: H) -> Self[src]

pub fn set_buf_size(&mut self, size: usize)[src]

pub fn get_buf_size(&self) -> usize[src]

pub fn set_max_buf_size(&mut self, size: usize)[src]

pub fn get_max_buf_size(&self) -> usize[src]

pub fn set_read_timeout(&mut self, timeout_ms: u32)[src]

pub fn get_read_timeout(&self) -> Duration[src]

pub fn set_max_parse_response_bytes_count(&mut self, size: u8)[src]

pub fn get_max_parse_response_bytes_count(&self) -> u8[src]

Trait Implementations

impl<H: Clone> Clone for AsyncTransportConfiguration<H> where
    H: ResponseHandler
[src]

Auto Trait Implementations

impl<H> RefUnwindSafe for AsyncTransportConfiguration<H> where
    H: RefUnwindSafe
[src]

impl<H> Send for AsyncTransportConfiguration<H> where
    H: Send
[src]

impl<H> Sync for AsyncTransportConfiguration<H> where
    H: Sync
[src]

impl<H> Unpin for AsyncTransportConfiguration<H> where
    H: Unpin
[src]

impl<H> UnwindSafe for AsyncTransportConfiguration<H> where
    H: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.