[−][src]Struct fbthrift_transport::configuration::AsyncTransportConfiguration
Implementations
impl<H> AsyncTransportConfiguration<H> where
H: ResponseHandler,
[src]
H: ResponseHandler,
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]
H: ResponseHandler,
pub fn clone(&self) -> AsyncTransportConfiguration<H>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<H> RefUnwindSafe for AsyncTransportConfiguration<H> where
H: RefUnwindSafe,
[src]
H: RefUnwindSafe,
impl<H> Send for AsyncTransportConfiguration<H> where
H: Send,
[src]
H: Send,
impl<H> Sync for AsyncTransportConfiguration<H> where
H: Sync,
[src]
H: Sync,
impl<H> Unpin for AsyncTransportConfiguration<H> where
H: Unpin,
[src]
H: Unpin,
impl<H> UnwindSafe for AsyncTransportConfiguration<H> where
H: UnwindSafe,
[src]
H: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,