pub struct TRonQuery { /* private fields */ }Expand description
Query interface for the T.Ron SecureYeoman personality.
Implementations§
Source§impl TRonQuery
impl TRonQuery
Sourcepub async fn recent_events(&self, limit: usize) -> Vec<SecurityEvent>
pub async fn recent_events(&self, limit: usize) -> Vec<SecurityEvent>
Recent security events.
Sourcepub async fn agent_risk_score(&self, agent_id: &str) -> f64
pub async fn agent_risk_score(&self, agent_id: &str) -> f64
Per-agent risk score (0.0 = trusted, 1.0 = hostile).
Sourcepub async fn total_events(&self) -> usize
pub async fn total_events(&self) -> usize
Total events logged.
Sourcepub async fn total_denials(&self) -> usize
pub async fn total_denials(&self) -> usize
Total denied calls.
Sourcepub async fn agent_audit(
&self,
agent_id: &str,
limit: usize,
) -> Vec<SecurityEvent>
pub async fn agent_audit( &self, agent_id: &str, limit: usize, ) -> Vec<SecurityEvent>
Audit trail for a specific agent.
Sourcepub fn verify_chain(&self) -> Result<()>
pub fn verify_chain(&self) -> Result<()>
Verify the libro audit chain integrity (tamper detection).
Sourcepub fn chain_review(&self) -> ChainReview
pub fn chain_review(&self) -> ChainReview
Structured review/summary of the audit chain.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TRonQuery
impl !RefUnwindSafe for TRonQuery
impl Send for TRonQuery
impl Sync for TRonQuery
impl Unpin for TRonQuery
impl UnsafeUnpin for TRonQuery
impl !UnwindSafe for TRonQuery
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