#[repr(u8)]pub enum LogType {
StdLogs = 0,
TracingLogs = 1,
}Expand description
Represents the type of logging to be used by the LightstreamerClient.
This enum determines how log messages from the client will be handled and output.
Variants§
StdLogs = 0
Use standard output (stdout/stderr) for logging. This provides simpler logging directly to the console.
TracingLogs = 1
Use the tracing crate for logging. This provides structured, leveled logging with spans and events.
Trait Implementations§
impl Copy for LogType
impl Eq for LogType
impl StructuralPartialEq for LogType
Auto Trait Implementations§
impl Freeze for LogType
impl RefUnwindSafe for LogType
impl Send for LogType
impl Sync for LogType
impl Unpin for LogType
impl UnsafeUnpin for LogType
impl UnwindSafe for LogType
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