pub trait Part: Sized + 'static {
const TYPE: &'static str;
// Required methods
fn format(self) -> Buffer ⓘ;
fn parse(s: &str) -> Result<Self>;
}
Expand description
Part is a trait for multipart part.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.