pub trait Context:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn assign_operations(&self, bytes: &[u8]) -> Result<(), ServingError>;
fn with_generation(&self, token: [u8; 32]) -> Self;
}Required Methods§
fn assign_operations(&self, bytes: &[u8]) -> Result<(), ServingError>
fn with_generation(&self, token: [u8; 32]) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".