[−][src]Struct hdd::drivedb::DriveMeta
Drive-related data that cannot be queried from the drive itself (model family, attribute presets etc.)
Fields
family: Option<&'a String>
Informal string about the model family/series of a device.
warning: Option<&'a String>
A message that may be displayed for matching drives. For example, to inform the user that they may need to apply a firmware patch.
Implementations
impl<'a> DriveMeta<'a>
[src]
pub fn render_attribute(&'a self, id: u8) -> Option<Attribute>
[src]
Renders attribute description for a particular attribute id
.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for DriveMeta<'a>
impl<'a> Send for DriveMeta<'a>
impl<'a> Sync for DriveMeta<'a>
impl<'a> Unpin for DriveMeta<'a>
impl<'a> UnwindSafe for DriveMeta<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,