pub enum UdevRuleSelection {
All,
Devices(Vec<DeviceType>),
}Expand description
The bundled rule files to install, independent of compiled device support.
Variants§
All
All bundled rules, including legacy Digital Bitbox and BitBox02 rules.
Devices(Vec<DeviceType>)
Rules explicitly associated with the selected device types.
Bundled BitBox rules have no device-type association and require
Self::All. Types without associated rules contribute no files.
Tuple Fields
§
0: Vec<DeviceType>The device types whose associated rules are selected.
Trait Implementations§
Source§impl Clone for UdevRuleSelection
impl Clone for UdevRuleSelection
Source§fn clone(&self) -> UdevRuleSelection
fn clone(&self) -> UdevRuleSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UdevRuleSelection
impl Debug for UdevRuleSelection
impl Eq for UdevRuleSelection
Source§impl PartialEq for UdevRuleSelection
impl PartialEq for UdevRuleSelection
impl StructuralPartialEq for UdevRuleSelection
Auto Trait Implementations§
impl Freeze for UdevRuleSelection
impl RefUnwindSafe for UdevRuleSelection
impl Send for UdevRuleSelection
impl Sync for UdevRuleSelection
impl Unpin for UdevRuleSelection
impl UnsafeUnpin for UdevRuleSelection
impl UnwindSafe for UdevRuleSelection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.