pub struct RealtimeClientOptions {
pub auto_reconnect: bool,
pub max_reconnect_attempts: Option<u32>,
pub reconnect_interval: u64,
pub reconnect_backoff_factor: f64,
pub max_reconnect_interval: u64,
pub heartbeat_interval: u64,
}
Expand description
リアルタイムクライアント設定
Fields§
§auto_reconnect: bool
自動再接続を有効にするかどうか
max_reconnect_attempts: Option<u32>
最大再接続試行回数(Noneの場合は無限に試行)
reconnect_interval: u64
再接続間隔(ミリ秒)
reconnect_backoff_factor: f64
再接続間隔の増加係数
max_reconnect_interval: u64
最大再接続間隔(ミリ秒)
heartbeat_interval: u64
ハートビート間隔(ミリ秒)
Trait Implementations§
Source§impl Clone for RealtimeClientOptions
impl Clone for RealtimeClientOptions
Source§fn clone(&self) -> RealtimeClientOptions
fn clone(&self) -> RealtimeClientOptions
Returns a copy of the value. Read more
1.0.0 · 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 RealtimeClientOptions
impl Debug for RealtimeClientOptions
Auto Trait Implementations§
impl Freeze for RealtimeClientOptions
impl RefUnwindSafe for RealtimeClientOptions
impl Send for RealtimeClientOptions
impl Sync for RealtimeClientOptions
impl Unpin for RealtimeClientOptions
impl UnwindSafe for RealtimeClientOptions
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