pub struct AsyncTransportConfiguration<H>where
H: ResponseHandler,{ /* private fields */ }
Implementations§
source§impl<H> AsyncTransportConfiguration<H>where
H: ResponseHandler,
impl<H> AsyncTransportConfiguration<H>where
H: ResponseHandler,
pub fn new(response_handler: H) -> Self
pub fn set_buf_size(&mut self, size: usize)
pub fn get_buf_size(&self) -> usize
pub fn set_max_buf_size(&mut self, size: usize)
pub fn get_max_buf_size(&self) -> usize
pub fn set_read_timeout(&mut self, timeout_ms: u32)
pub fn get_read_timeout(&self) -> Duration
pub fn set_max_parse_response_bytes_count(&mut self, size: u8)
pub fn get_max_parse_response_bytes_count(&self) -> u8
Trait Implementations§
source§impl<H> Clone for AsyncTransportConfiguration<H>where
H: ResponseHandler + Clone,
impl<H> Clone for AsyncTransportConfiguration<H>where
H: ResponseHandler + Clone,
source§fn clone(&self) -> AsyncTransportConfiguration<H>
fn clone(&self) -> AsyncTransportConfiguration<H>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<H> RefUnwindSafe for AsyncTransportConfiguration<H>where
H: RefUnwindSafe,
impl<H> Send for AsyncTransportConfiguration<H>where
H: Send,
impl<H> Sync for AsyncTransportConfiguration<H>where
H: Sync,
impl<H> Unpin for AsyncTransportConfiguration<H>where
H: Unpin,
impl<H> UnwindSafe for AsyncTransportConfiguration<H>where
H: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more