pub struct AuditInfo {
pub event_type: String,
pub detail: String,
}Expand description
Audit metadata returned by EST handlers for NIAP FAU_GEN.1 compliance.
The EstHandler trait is synchronous, so handlers cannot call async
audit-recording functions directly. Instead, they populate an
AuditInfo value which the async server loop records after sending the
CoAP response.
Fields§
§event_type: StringAudit event type string (e.g. "coap_simpleenroll").
detail: StringHuman-readable detail (e.g. serial number / subject DN).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuditInfo
impl RefUnwindSafe for AuditInfo
impl Send for AuditInfo
impl Sync for AuditInfo
impl Unpin for AuditInfo
impl UnsafeUnpin for AuditInfo
impl UnwindSafe for AuditInfo
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