Skip to main content

XmtpSharedContext

Trait XmtpSharedContext 

pub trait XmtpSharedContext: IdentityContext + CoreContext
where Self::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§

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§