#[non_exhaustive]pub struct RoomOptions {
pub auto_subscribe: bool,
pub adaptive_stream: bool,
pub dynacast: bool,
pub e2ee: Option<E2eeOptions>,
pub encryption: Option<E2eeOptions>,
pub rtc_config: RtcConfiguration,
pub join_retries: u32,
pub sdk_options: RoomSdkOptions,
pub single_peer_connection: bool,
pub connect_timeout: Duration,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.auto_subscribe: bool§adaptive_stream: bool§dynacast: bool§e2ee: Option<E2eeOptions>👎Deprecated: Use
§encryption field insteadencryption: Option<E2eeOptions>§rtc_config: RtcConfiguration§join_retries: u32§sdk_options: RoomSdkOptions§single_peer_connection: boolEnable single peer connection mode. When true, uses one RTCPeerConnection for both publishing and subscribing instead of two separate connections. Falls back to dual peer connection if the server doesn’t support single PC.
connect_timeout: DurationTimeout for each individual signal connection attempt
Trait Implementations§
Source§impl Clone for RoomOptions
impl Clone for RoomOptions
Source§fn clone(&self) -> RoomOptions
fn clone(&self) -> RoomOptions
Returns a duplicate 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 RoomOptions
impl Debug for RoomOptions
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