pub trait MailboxFactory: Send + Sync {
// Required method
fn create(&self, address: &Address) -> Arc<dyn Mailbox> ⓘ;
// Provided method
fn recover(&self) -> Vec<Address> { ... }
}Expand description
Creates the mailbox of an address.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".