pub struct ClientOptions {
pub cov_channel_capacity: usize,
/* private fields */
}Expand description
Additional client startup options.
Fields§
§cov_channel_capacity: usizeCapacity of the COV notification broadcast channel.
Slow receivers lag once more than this many notifications arrive before
they call recv(). The default preserves the historical fixed capacity
of 64.
Implementations§
Source§impl ClientOptions
impl ClientOptions
Sourcepub fn with_confirmed_cov_notification_ack_policy<F>(self, policy: F) -> Self
pub fn with_confirmed_cov_notification_ack_policy<F>(self, policy: F) -> Self
Set a callback that chooses how to answer decoded ConfirmedCOVNotifications.
Source§impl ClientOptions
impl ClientOptions
Sourcepub fn with_cov_channel_capacity(self, capacity: usize) -> Self
pub fn with_cov_channel_capacity(self, capacity: usize) -> Self
Set the COV notification broadcast channel capacity.
Trait Implementations§
Source§impl Clone for ClientOptions
impl Clone for ClientOptions
Source§fn clone(&self) -> ClientOptions
fn clone(&self) -> ClientOptions
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 ClientOptions
impl Debug for ClientOptions
Auto Trait Implementations§
impl !RefUnwindSafe for ClientOptions
impl !UnwindSafe for ClientOptions
impl Freeze for ClientOptions
impl Send for ClientOptions
impl Sync for ClientOptions
impl Unpin for ClientOptions
impl UnsafeUnpin for ClientOptions
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