pub trait Handle {
type OpenError;
type OpenInfo;
// Required methods
fn open(info: Self::OpenInfo) -> Result<Self, Self::OpenError>
where Self: Sized;
fn release(&mut self);
}
Expand description
A handle that can be opened and released.