pub enum ConsoleInitError {
Filter(FromEnvError),
Subscriber(SetGlobalDefaultError),
}Expand description
Console setup failed before normal application logging began.
Variants§
Filter(FromEnvError)
RUST_LOG could not be read or parsed.
Subscriber(SetGlobalDefaultError)
A global subscriber could not be installed.
Trait Implementations§
Source§impl Debug for ConsoleInitError
impl Debug for ConsoleInitError
Source§impl Display for ConsoleInitError
impl Display for ConsoleInitError
Source§impl Error for ConsoleInitError
impl Error for ConsoleInitError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FromEnvError> for ConsoleInitError
impl From<FromEnvError> for ConsoleInitError
Source§fn from(error: FromEnvError) -> Self
fn from(error: FromEnvError) -> Self
Converts to this type from the input type.
Source§impl From<SetGlobalDefaultError> for ConsoleInitError
impl From<SetGlobalDefaultError> for ConsoleInitError
Source§fn from(error: SetGlobalDefaultError) -> Self
fn from(error: SetGlobalDefaultError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConsoleInitError
impl !UnwindSafe for ConsoleInitError
impl Freeze for ConsoleInitError
impl Send for ConsoleInitError
impl Sync for ConsoleInitError
impl Unpin for ConsoleInitError
impl UnsafeUnpin for ConsoleInitError
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<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
Source§type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
The type of the wrapped error after instrumentation
Source§fn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
Instrument an Error by bundling it with a SpanTrace Read more