Trait imap_types::IntoStatic

source ·
pub trait IntoStatic {
    type Static: 'static;

    // Required method
    fn into_static(self) -> Self::Static;
}
Expand description

Create owned variant of object (consuming it).

Useful, e.g., if you want to pass the object to another thread or executor.

Required Associated Types§

source

type Static: 'static

Required Methods§

source

fn into_static(self) -> Self::Static

Implementors§