pub struct JsonPollerBuilder<T> { /* private fields */ }Implementations§
Source§impl<T> JsonPollerBuilder<T>
impl<T> JsonPollerBuilder<T>
pub fn new(url: impl Into<String>) -> Self
pub fn poll_interval_ms(self, ms: u64) -> Self
pub fn pool_max_idle_per_host(self, max: usize) -> Self
pub fn pool_idle_timeout_secs(self, secs: u64) -> Self
pub fn request_timeout_ms(self, ms: u64) -> Self
pub fn tcp_keepalive_secs(self, secs: u64) -> Self
pub fn build(self) -> Result<JsonPoller<T>, Error>
Auto Trait Implementations§
impl<T> Freeze for JsonPollerBuilder<T>
impl<T> RefUnwindSafe for JsonPollerBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for JsonPollerBuilder<T>where
T: Send,
impl<T> Sync for JsonPollerBuilder<T>where
T: Sync,
impl<T> Unpin for JsonPollerBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for JsonPollerBuilder<T>where
T: 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