pub struct ConsumerOptions {
pub handshake_timeout: Duration,
pub call_timeout: Duration,
pub reconnect_backoff: RetryBackoff,
pub restored_debounce: 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: DurationTrait Implementations§
Source§impl Clone for ConsumerOptions
impl Clone for ConsumerOptions
Source§fn clone(&self) -> ConsumerOptions
fn clone(&self) -> ConsumerOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 Freeze 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