pub trait Validatable {
// Required method
fn is_valid_for(&self, id: &DeviceId, device: &DeviceIn) -> bool;
}Expand description
Trait to validate an object around a given device
Required Methods§
Sourcefn is_valid_for(&self, id: &DeviceId, device: &DeviceIn) -> bool
fn is_valid_for(&self, id: &DeviceId, device: &DeviceIn) -> bool
Is this object valid for the given device?