Adapter

Trait Adapter 

Source
pub trait Adapter: CoreAdapter<Emitter> + Sized { }
Expand description

An adapter is responsible for managing the state of the namespace. This adapter can be implemented to share the state between multiple servers. The default adapter is the LocalAdapter, which stores the state in memory.

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§

Source§

impl<T: CoreAdapter<Emitter>> Adapter for T