BlockingArchiveHandler

Trait BlockingArchiveHandler 

Source
pub trait BlockingArchiveHandler<M>
where M: BlockingArchive, Self: Server,
{ // Required method fn handle( &mut self, msg: M, sender: PID, context: &mut ServerContext<Self>, ) -> M::Response; }
Expand description

handle archive messages synchronously

Required Methods§

Source

fn handle( &mut self, msg: M, sender: PID, context: &mut ServerContext<Self>, ) -> M::Response

process message and return response immediately

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§