Skip to main content

Context

Trait Context 

Source
pub trait Context: Context<Configuration = WireTable> {
    // Required methods
    fn assign_operations(&self, bytes: &[u8]) -> Result<(), ServingError>;
    fn with_generation(&self, token: [u8; 32]) -> Self;
}

Required Methods§

Source

fn assign_operations(&self, bytes: &[u8]) -> Result<(), ServingError>

Source

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".

Implementations on Foreign Types§

Source§

impl Context for ()

Implementors§