pub enum MlsVerbosity {
Off,
Lifecycle,
Diagnostic,
}Expand description
Verbosity tier for MLS lifecycle telemetry.
The SDK emits MLS events at or below the configured tier. Apps that want
zero MLS telemetry install Off, apps that want the standard operational
stream install Lifecycle (the default), and apps that want verbose
per-operation diagnostics install Diagnostic. Off suppresses both the
TelemetrySink fan-out and the legacy
crate::mls_observability::MlsEventEmitter path.
Variants§
Off
Suppress all MLS lifecycle telemetry.
Lifecycle
Emit the standard lifecycle stream: initialization, session ready, decryption failures, session missing, encryption used.
Diagnostic
Emit the full lifecycle stream plus additional per-operation diagnostics intended for local debugging.
§Current behavior
As of this release, Diagnostic is accepted by the configuration
surface but produces the same event stream as Self::Lifecycle
— the additional per-operation diagnostics are introduced alongside
the extra emission sites they describe. Apps that select
Diagnostic today are forward-compatible with those follow-ups;
they will not need to reconfigure when the richer stream lands.
Trait Implementations§
Source§impl Clone for MlsVerbosity
impl Clone for MlsVerbosity
Source§fn clone(&self) -> MlsVerbosity
fn clone(&self) -> MlsVerbosity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MlsVerbosity
Source§impl Debug for MlsVerbosity
impl Debug for MlsVerbosity
Source§impl Default for MlsVerbosity
impl Default for MlsVerbosity
Source§fn default() -> MlsVerbosity
fn default() -> MlsVerbosity
impl Eq for MlsVerbosity
Source§impl PartialEq for MlsVerbosity
impl PartialEq for MlsVerbosity
impl StructuralPartialEq for MlsVerbosity
Auto Trait Implementations§
impl Freeze for MlsVerbosity
impl RefUnwindSafe for MlsVerbosity
impl Send for MlsVerbosity
impl Sync for MlsVerbosity
impl Unpin for MlsVerbosity
impl UnsafeUnpin for MlsVerbosity
impl UnwindSafe for MlsVerbosity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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> ⓘ
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> ⓘ
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