Enum mediasoup::worker::WorkerLogLevel
source · pub enum WorkerLogLevel {
Debug,
Warn,
Error,
None,
}
Expand description
Logging level for logs generated by the media worker thread (check the Debugging documentation on TypeScript implementation and generic Rust-specific docs).
Default WorkerLogLevel::Error
.
Variants§
Debug
Log all severities.
Warn
Log “warn” and “error” severities.
Error
Log “error” severity.
None
Do not log anything.
Trait Implementations§
source§impl Clone for WorkerLogLevel
impl Clone for WorkerLogLevel
source§fn clone(&self) -> WorkerLogLevel
fn clone(&self) -> WorkerLogLevel
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 WorkerLogLevel
impl Debug for WorkerLogLevel
source§impl Default for WorkerLogLevel
impl Default for WorkerLogLevel
source§impl Hash for WorkerLogLevel
impl Hash for WorkerLogLevel
source§impl Ord for WorkerLogLevel
impl Ord for WorkerLogLevel
source§fn cmp(&self, other: &WorkerLogLevel) -> Ordering
fn cmp(&self, other: &WorkerLogLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for WorkerLogLevel
impl PartialEq for WorkerLogLevel
source§fn eq(&self, other: &WorkerLogLevel) -> bool
fn eq(&self, other: &WorkerLogLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WorkerLogLevel
impl PartialOrd for WorkerLogLevel
source§fn partial_cmp(&self, other: &WorkerLogLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &WorkerLogLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for WorkerLogLevel
impl Serialize for WorkerLogLevel
impl Copy for WorkerLogLevel
impl Eq for WorkerLogLevel
impl StructuralPartialEq for WorkerLogLevel
Auto Trait Implementations§
impl Freeze for WorkerLogLevel
impl RefUnwindSafe for WorkerLogLevel
impl Send for WorkerLogLevel
impl Sync for WorkerLogLevel
impl Unpin for WorkerLogLevel
impl UnwindSafe for WorkerLogLevel
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