Skip to main content

Context

Trait Context 

Source
pub trait Context:
    Clone
    + Send
    + Sync
    + 'static {
    // Required method
    fn with_generation(&self, token: [u8; 32]) -> Self;
}

Required Methods§

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 ()

Source§

fn with_generation(&self, _: [u8; 32]) -> Self

Implementors§