pub trait ValidateHandle {
// Required method
fn is_invalid(&self) -> bool;
}
Expand description
Just makes the is_invalid()
method of handle types available via a trait for use with trait bounds.
pub trait ValidateHandle {
// Required method
fn is_invalid(&self) -> bool;
}
Just makes the is_invalid()
method of handle types available via a trait for use with trait bounds.