pub trait ArchiveEventHandler<M>where
Self: Server,
M: ArchiveEvent,
<M as Archive>::Archived: for<'a> CheckBytes<XousValidator<'a>>,{
// Required method
fn handle(
&mut self,
msg: Owned<M>,
sender: PID,
context: &mut ServerContext<Self>,
);
}Expand description
Handler for an incoming ArchiveEvent
Required Methods§
fn handle( &mut self, msg: Owned<M>, sender: PID, context: &mut ServerContext<Self>, )
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.