Skip to main content

TaintLookup

Trait TaintLookup 

Source
pub trait TaintLookup: Send + Sync {
    // Required method
    fn taint(&self, session: &str) -> Result<Taint, String>;
}
Expand description

What a session was exposed to, read when one of its requests is decided. The CLI reads it from the audit log; tests pass a fixed map.

Required Methods§

Source

fn taint(&self, session: &str) -> Result<Taint, String>

The taint of session. An error refuses the request: without the session’s history the proxy cannot tell whether it read a secret.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§