pub struct EventLogParseError {
pub component: Cow<'static, str>,
pub reason: Cow<'static, str>,
}Expand description
Event log parse error.
Fields§
§component: Cow<'static, str>What failed to parse.
reason: Cow<'static, str>Reason for failure.
Implementations§
Trait Implementations§
Source§impl Debug for EventLogParseError
impl Debug for EventLogParseError
Source§impl Display for EventLogParseError
impl Display for EventLogParseError
Source§impl Error for EventLogParseError
impl Error for EventLogParseError
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 EventLogParseError
impl RefUnwindSafe for EventLogParseError
impl Send for EventLogParseError
impl Sync for EventLogParseError
impl Unpin for EventLogParseError
impl UnsafeUnpin for EventLogParseError
impl UnwindSafe for EventLogParseError
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