Skip to main content

BoxableMailboxSender

Trait BoxableMailboxSender 

Source
pub trait BoxableMailboxSender:
    MailboxSender
    + Clone
    + 'static {
    // Required method
    fn boxed(&self) -> BoxedMailboxSender;
}
Expand description

Extension trait that creates a boxed clone of a MailboxSender.

Required Methods§

Source

fn boxed(&self) -> BoxedMailboxSender

A boxed clone of this MailboxSender.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§