pub struct SetGlobalError(/* private fields */);Available on crate feature
std only.Expand description
Error returned when a global logger is already installed. Holds the logger that was not installed.
Implementations§
Source§impl SetGlobalError
impl SetGlobalError
Sourcepub fn into_inner(self) -> Logger
pub fn into_inner(self) -> Logger
Recover the logger that was not installed.
Trait Implementations§
Source§impl Debug for SetGlobalError
impl Debug for SetGlobalError
Source§impl Display for SetGlobalError
impl Display for SetGlobalError
Source§impl Error for SetGlobalError
impl Error for SetGlobalError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for SetGlobalError
impl RefUnwindSafe for SetGlobalError
impl Send for SetGlobalError
impl Sync for SetGlobalError
impl Unpin for SetGlobalError
impl UnsafeUnpin for SetGlobalError
impl UnwindSafe for SetGlobalError
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