pub trait CompactOpwhere
Self: Sized,{
// Required methods
fn compact(&self) -> Result<Self, Error>;
fn compact_mixed_resolutions(&self) -> Result<Self, Error>;
fn uncompact(&self, resolution: Resolution) -> Self;
}
Required Methods§
fn compact_mixed_resolutions(&self) -> Result<Self, Error>
fn uncompact(&self, resolution: Resolution) -> Self
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.