Skip to main content

XmtpSharedContext

Trait XmtpSharedContext 

Source
pub trait XmtpSharedContext: IdentityContext + CoreContext<Features: EngineFeatures> {
    // Provided method
    fn incoming_runtime(&self) -> &IncomingRuntime { ... }
}
Expand description

A context the engine runs on: core, identity resolution and the incoming runtime.

Provided Methods§

Source

fn incoming_runtime(&self) -> &IncomingRuntime

Shared incoming runtime. Its limits and transport are internal client policy.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§