pub struct MultiUserConfigBuilder { /* private fields */ }Expand description
Builder for multi-user configuration
Implementations§
Source§impl MultiUserConfigBuilder
impl MultiUserConfigBuilder
Sourcepub fn audio_quality(self, quality: f32) -> Self
pub fn audio_quality(self, quality: f32) -> Self
Set audio quality level (0.0-1.0)
Sourcepub fn max_latency_ms(self, latency: f64) -> Self
pub fn max_latency_ms(self, latency: f64) -> Self
Set maximum latency in milliseconds
Sourcepub fn enable_encryption(self, enabled: bool) -> Self
pub fn enable_encryption(self, enabled: bool) -> Self
Enable or disable encryption
Sourcepub fn bandwidth_limit_kbps(self, limit: u32) -> Self
pub fn bandwidth_limit_kbps(self, limit: u32) -> Self
Set bandwidth limit in kbps
Sourcepub fn build(self) -> MultiUserConfig
pub fn build(self) -> MultiUserConfig
Build the configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MultiUserConfigBuilder
impl RefUnwindSafe for MultiUserConfigBuilder
impl Send for MultiUserConfigBuilder
impl Sync for MultiUserConfigBuilder
impl Unpin for MultiUserConfigBuilder
impl UnsafeUnpin for MultiUserConfigBuilder
impl UnwindSafe for MultiUserConfigBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more