pub struct SubstrateAuditEvent {
pub substrate: &'static str,
pub action: &'static str,
pub saved_ns: u128,
pub detail: &'static str,
}Expand description
Human-readable optimization event emitted when VYRE_TRACE=1.
Fields§
§substrate: &'static strSubstrate or policy that fired.
action: &'static strAction selected by the substrate.
saved_ns: u128Predicted or measured savings in nanoseconds.
detail: &'static strStatic context string suitable for logs and tests.
Trait Implementations§
Source§impl Clone for SubstrateAuditEvent
impl Clone for SubstrateAuditEvent
Source§fn clone(&self) -> SubstrateAuditEvent
fn clone(&self) -> SubstrateAuditEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubstrateAuditEvent
impl Debug for SubstrateAuditEvent
impl Eq for SubstrateAuditEvent
Source§impl PartialEq for SubstrateAuditEvent
impl PartialEq for SubstrateAuditEvent
Source§fn eq(&self, other: &SubstrateAuditEvent) -> bool
fn eq(&self, other: &SubstrateAuditEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubstrateAuditEvent
Auto Trait Implementations§
impl Freeze for SubstrateAuditEvent
impl RefUnwindSafe for SubstrateAuditEvent
impl Send for SubstrateAuditEvent
impl Sync for SubstrateAuditEvent
impl Unpin for SubstrateAuditEvent
impl UnsafeUnpin for SubstrateAuditEvent
impl UnwindSafe for SubstrateAuditEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.