Struct rf_distributed_impl::mailbox::MailboxFactory
source · pub struct MailboxFactory;
Expand description
This struct is used as a factory for Mailboxes.
Implementations§
source§impl MailboxFactory
impl MailboxFactory
sourcepub fn from_policy(policy: ProcessingPolicy) -> Box<dyn Mailbox>
pub fn from_policy(policy: ProcessingPolicy) -> Box<dyn Mailbox>
Creates a new Mailbox with the given ProcessingPolicy.
Auto Trait Implementations§
impl RefUnwindSafe for MailboxFactory
impl Send for MailboxFactory
impl Sync for MailboxFactory
impl Unpin for MailboxFactory
impl UnwindSafe for MailboxFactory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more