pub struct ConsumerOptions {
pub handshake_timeout: Duration,
pub call_timeout: Duration,
pub reconnect_backoff: RetryBackoff,
pub restored_debounce: Duration,
pub liveness_probe_window: Duration,
}Expand description
Options for SubcConsumer::connect.
Fields§
§handshake_timeout: Duration§call_timeout: DurationDeadline for channel-0 calls that do not take per-call options.
reconnect_backoff: RetryBackoff§restored_debounce: Duration§liveness_probe_window: DurationWindow a post-deadline Ping waits for any inbound frame before the connection is treated as half-open. Exposed so callers can use a shorter deterministic test window.
Trait Implementations§
Source§impl Clone for ConsumerOptions
impl Clone for ConsumerOptions
Source§impl Debug for ConsumerOptions
impl Debug for ConsumerOptions
Source§impl Default for ConsumerOptions
impl Default for ConsumerOptions
impl Eq for ConsumerOptions
Source§impl PartialEq for ConsumerOptions
impl PartialEq for ConsumerOptions
impl StructuralPartialEq for ConsumerOptions
Auto Trait Implementations§
impl Forget for ConsumerOptions
impl Freeze for ConsumerOptions
impl Move for ConsumerOptions
impl RefUnwindSafe for ConsumerOptions
impl Send for ConsumerOptions
impl Sync for ConsumerOptions
impl Unpin for ConsumerOptions
impl UnsafeUnpin for ConsumerOptions
impl UnwindSafe for ConsumerOptions
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