pub enum Filter {
DeviceRegex(DeviceRegex),
MajMin(MajMin),
}
Expand description
Filter used for matching the devices
Variants§
DeviceRegex(DeviceRegex)
MajMin(MajMin)
Trait Implementations§
Source§impl From<DeviceRegex> for Filter
impl From<DeviceRegex> for Filter
Source§fn from(v: DeviceRegex) -> Self
fn from(v: DeviceRegex) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more