pub struct SmbiosFile { /* private fields */ }Expand description
Load SMBIOS entry from binary file.
Implementations§
Source§impl SmbiosFile
impl SmbiosFile
Sourcepub fn builder() -> SmbiosFileBuilder
pub fn builder() -> SmbiosFileBuilder
Create an instance of SmbiosFile using the builder syntax
Trait Implementations§
Source§impl Arbitrary for SmbiosFile
impl Arbitrary for SmbiosFile
Source§type Parameters = <PathBuf as Arbitrary>::Parameters
type Parameters = <PathBuf as Arbitrary>::Parameters
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<<PathBuf as Arbitrary>::Strategy, fn(PathBuf) -> SmbiosFile>
type Strategy = Map<<PathBuf as Arbitrary>::Strategy, fn(PathBuf) -> SmbiosFile>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for SmbiosFile
impl Clone for SmbiosFile
Source§fn clone(&self) -> SmbiosFile
fn clone(&self) -> SmbiosFile
Returns a duplicate of the value. Read more
1.0.0 · 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 SmbiosFile
impl Debug for SmbiosFile
Source§impl Default for SmbiosFile
impl Default for SmbiosFile
Source§fn default() -> SmbiosFile
fn default() -> SmbiosFile
Returns the “default value” for a type. Read more
Source§impl FromStr for SmbiosFile
impl FromStr for SmbiosFile
Source§impl Hash for SmbiosFile
impl Hash for SmbiosFile
Source§impl Ord for SmbiosFile
impl Ord for SmbiosFile
Source§fn cmp(&self, other: &SmbiosFile) -> Ordering
fn cmp(&self, other: &SmbiosFile) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SmbiosFile
impl PartialEq for SmbiosFile
Source§impl PartialOrd for SmbiosFile
impl PartialOrd for SmbiosFile
Source§impl ToCommand for SmbiosFile
impl ToCommand for SmbiosFile
Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()fn has_args(&self) -> bool
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
Stringimpl Eq for SmbiosFile
impl StructuralPartialEq for SmbiosFile
Auto Trait Implementations§
impl Freeze for SmbiosFile
impl RefUnwindSafe for SmbiosFile
impl Send for SmbiosFile
impl Sync for SmbiosFile
impl Unpin for SmbiosFile
impl UnsafeUnpin for SmbiosFile
impl UnwindSafe for SmbiosFile
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