pub trait ArchiveResponseHandler<R>where
Self: Server,
R: ArchiveCodec,{
// Required method
fn handle_response(
&mut self,
response: R,
sender: PID,
context: &mut ServerContext<Self>,
);
}Expand description
handle async responses from other servers
Required Methods§
Sourcefn handle_response(
&mut self,
response: R,
sender: PID,
context: &mut ServerContext<Self>,
)
fn handle_response( &mut self, response: R, sender: PID, context: &mut ServerContext<Self>, )
process received async response
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.