pub struct ObStreamOptions {
pub compress: bool,
pub auto_reconnect: bool,
pub max_reconnect_attempts: Option<u32>,
pub initial_backoff: Duration,
pub max_backoff: Duration,
}Expand description
Options for the orderbook stream.
Fields§
§compress: bool§auto_reconnect: bool§max_reconnect_attempts: Option<u32>§initial_backoff: Duration§max_backoff: DurationTrait Implementations§
Source§impl Clone for ObStreamOptions
impl Clone for ObStreamOptions
Source§fn clone(&self) -> ObStreamOptions
fn clone(&self) -> ObStreamOptions
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 ObStreamOptions
impl Debug for ObStreamOptions
Auto Trait Implementations§
impl Freeze for ObStreamOptions
impl RefUnwindSafe for ObStreamOptions
impl Send for ObStreamOptions
impl Sync for ObStreamOptions
impl Unpin for ObStreamOptions
impl UnsafeUnpin for ObStreamOptions
impl UnwindSafe for ObStreamOptions
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