pub trait Disposable {
// Required method
fn dispose(self);
}Expand description
A trait that represents a disposable resource.
pub trait Disposable {
// Required method
fn dispose(self);
}A trait that represents a disposable resource.