pub enum LogConfigError {
UnknownSink(String),
UnknownLevel(String),
MissingProperty(&'static str),
BadAddress(String),
Io(Error),
}Expand description
Error materializing a logger from dds.sec.log.* properties.
Variants§
UnknownSink(String)
Unknown sink name in dds.sec.log.plugin.
UnknownLevel(String)
Unparseable dds.sec.log.level.
MissingProperty(&'static str)
A required property for a selected sink is missing.
BadAddress(String)
Malformed dds.sec.log.syslog.addr.
Io(Error)
I/O error opening a sink (e.g. the jsonl file or syslog socket).
Trait Implementations§
Source§impl Debug for LogConfigError
impl Debug for LogConfigError
Source§impl Display for LogConfigError
impl Display for LogConfigError
Source§impl Error for LogConfigError
impl Error for LogConfigError
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 !RefUnwindSafe for LogConfigError
impl !UnwindSafe for LogConfigError
impl Freeze for LogConfigError
impl Send for LogConfigError
impl Sync for LogConfigError
impl Unpin for LogConfigError
impl UnsafeUnpin for LogConfigError
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