pub struct RoomOptions {
pub auto_reconnect: bool,
pub max_reconnect_attempts: u32,
pub reconnect_base_delay_ms: u64,
pub send_timeout_ms: u64,
pub connection_timeout_ms: u64,
}Fields§
§auto_reconnect: bool§max_reconnect_attempts: u32§reconnect_base_delay_ms: u64§send_timeout_ms: u64Timeout for send() requests in ms (default: 10000)
connection_timeout_ms: u64Timeout for WebSocket connection establishment in ms (default: 15000)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RoomOptions
impl RefUnwindSafe for RoomOptions
impl Send for RoomOptions
impl Sync for RoomOptions
impl Unpin for RoomOptions
impl UnsafeUnpin for RoomOptions
impl UnwindSafe for RoomOptions
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