pub trait TokenAuthEngine {
type Error;
// Required methods
fn initial(&mut self) -> Result<TokenStep, Self::Error>;
fn step(&mut self, peer_token: &[u8]) -> Result<TokenStep, Self::Error>;
}Expand description
Platform-neutral token exchange consumed by the typed authentication loop.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".