pub trait CDrop {
// Required method
fn do_drop(&mut self) -> Result<(), CDropError>;
}Expand description
Trait showing that the C-like struct implementing it can free up its part of memory that are not managed by Rust.
pub trait CDrop {
// Required method
fn do_drop(&mut self) -> Result<(), CDropError>;
}Trait showing that the C-like struct implementing it can free up its part of memory that are not managed by Rust.