pub struct PanicLogEntry {
pub id: u64,
pub timestamp: u64,
pub from_state: PanicState,
pub to_state: PanicState,
pub trigger: AnomalyEvent,
pub prev_hash: [u8; 32],
pub entry_hash: [u8; 32],
}Expand description
Panic log entry
Fields§
§id: u64Entry ID
timestamp: u64Timestamp
from_state: PanicStateState transition
to_state: PanicState§trigger: AnomalyEventTriggering anomaly
prev_hash: [u8; 32]Hash chain (for tamper evidence)
entry_hash: [u8; 32]Trait Implementations§
Source§impl Clone for PanicLogEntry
impl Clone for PanicLogEntry
Source§fn clone(&self) -> PanicLogEntry
fn clone(&self) -> PanicLogEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PanicLogEntry
impl Debug for PanicLogEntry
Source§impl<'de> Deserialize<'de> for PanicLogEntry
impl<'de> Deserialize<'de> for PanicLogEntry
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 PanicLogEntry
impl RefUnwindSafe for PanicLogEntry
impl Send for PanicLogEntry
impl Sync for PanicLogEntry
impl Unpin for PanicLogEntry
impl UnwindSafe for PanicLogEntry
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