pub struct LoggingException { /* private fields */ }Expand description
The failure of the logging infrastructure (LoggingException): a log manager or a logger that
the resolver does not have.
Where upstream throws it, the port panics with it as the payload
(std::panic::panic_any), so that a caller that catches the panic can tell it apart.
Implementations§
Source§impl LoggingException
impl LoggingException
Sourcepub fn with_message(message: impl Into<String>) -> Self
pub fn with_message(message: impl Into<String>) -> Self
The exception with message (LoggingException(string)).
Trait Implementations§
Source§impl Debug for LoggingException
impl Debug for LoggingException
Source§impl Default for LoggingException
impl Default for LoggingException
Source§impl Display for LoggingException
impl Display for LoggingException
Source§impl Error for LoggingException
impl Error for LoggingException
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 !RefUnwindSafe for LoggingException
impl !UnwindSafe for LoggingException
impl Freeze for LoggingException
impl Send for LoggingException
impl Sync for LoggingException
impl Unpin for LoggingException
impl UnsafeUnpin for LoggingException
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