Trait imap_types::ToStatic
source · pub trait ToStatic {
type Static: 'static;
// Required method
fn to_static(&self) -> Self::Static;
}
Expand description
Create owned variant of object.
Useful, e.g., if you want to pass the object to another thread or executor.