Skip to main content

Context

Trait Context 

Source
pub trait Context:
    SealedContext
    + Send
    + 'static {
    type Endpoints: Sized + Send;
    type Length: Nat;
}

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Context for ()

Source§

impl<P, R> Context for (P, R)
where P: Slot, R: Context,

Source§

type Endpoints = (<P as Slot>::Endpoint, <R as Context>::Endpoints)

Source§

type Length = S<<R as Context>::Length>

Implementors§