pub trait Exportable {
// Required methods
fn export_from_object(object: EbiObject, f: &mut dyn Write) -> Result<()>;
fn export(&self, f: &mut dyn Write) -> Result<()>;
}Required Methods§
Sourcefn export_from_object(object: EbiObject, f: &mut dyn Write) -> Result<()>
fn export_from_object(object: EbiObject, f: &mut dyn Write) -> Result<()>
Input: any EbiObject. Output: the object will have been converted if necessary, and written to f. May fail for all kinds of reasons.
fn export(&self, f: &mut dyn Write) -> Result<()>
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.