Trait Validatable

Source
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§

Source

fn is_valid_for(&self, id: &DeviceId, device: &DeviceIn) -> bool

Is this object valid for the given device?

Implementors§