Struct mediasoup::worker::WorkerUpdateSettings
source · #[non_exhaustive]pub struct WorkerUpdateSettings {
pub log_level: Option<WorkerLogLevel>,
pub log_tags: Option<Vec<WorkerLogTag>>,
}
Expand description
Worker settings that can be updated in runtime.
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.log_level: Option<WorkerLogLevel>
Logging level for logs generated by the media worker thread.
If None
, logging level will not be updated.
Log tags for debugging. Check the meaning of each available tag in the Debugging documentation.
If None
, log tags will not be updated.
Trait Implementations§
source§impl Clone for WorkerUpdateSettings
impl Clone for WorkerUpdateSettings
source§fn clone(&self) -> WorkerUpdateSettings
fn clone(&self) -> WorkerUpdateSettings
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 WorkerUpdateSettings
impl Debug for WorkerUpdateSettings
source§impl Default for WorkerUpdateSettings
impl Default for WorkerUpdateSettings
source§fn default() -> WorkerUpdateSettings
fn default() -> WorkerUpdateSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkerUpdateSettings
impl RefUnwindSafe for WorkerUpdateSettings
impl Send for WorkerUpdateSettings
impl Sync for WorkerUpdateSettings
impl Unpin for WorkerUpdateSettings
impl UnwindSafe for WorkerUpdateSettings
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