pub trait TokenOutput: Clone {
type Error: Error + Send + Sync + 'static;
// Required method
fn token_id(&self) -> Result<u32, Self::Error>;
}Expand description
Backend-owned generated token that exposes only its portable token id.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".