pub trait IntoAttachment {
// Required methods
fn into_bytes(self) -> Vec<u8> ⓘ;
fn attachment_type(&self) -> AttachmentType;
}Required Methods§
fn into_bytes(self) -> Vec<u8> ⓘ
fn attachment_type(&self) -> AttachmentType
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".