pub struct AlertInfo {
pub target: String,
pub message: String,
pub file: Option<String>,
pub line: Option<u32>,
pub timestamp_ms: u64,
pub iroh_version: String,
pub iroh_n0des_version: String,
pub context: Vec<LogEntry>,
}Expand description
Information about a captured error-level log event.
Fields§
§target: String§message: String§file: Option<String>§line: Option<u32>§timestamp_ms: u64§iroh_version: String§iroh_n0des_version: String§context: Vec<LogEntry>Up to 200 recent log messages captured before this error, providing context for what led to the alert.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AlertInfo
impl<'de> Deserialize<'de> for AlertInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AlertInfo
impl RefUnwindSafe for AlertInfo
impl Send for AlertInfo
impl Sync for AlertInfo
impl Unpin for AlertInfo
impl UnwindSafe for AlertInfo
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