pub enum ProfileProblem {
ContainerWithoutHostRoot {
expected: String,
},
SourceUnreadable {
kind: IdentifierKind,
path: String,
error: String,
},
DanglingInterfaces {
path: String,
},
NoPhysicalInterface {
path: String,
},
QueryFailed {
kind: IdentifierKind,
error: String,
},
NoSourceConfigured,
}Expand description
Why an identifier kind could not be collected.
Variants§
ContainerWithoutHostRoot
Running in a container without a host root: machine-id and MACs refused.
SourceUnreadable
A source file or directory is missing or unreadable.
DanglingInterfaces
Interface entries exist but point nowhere: only class/net was mounted.
NoPhysicalInterface
The interface directory is readable but holds no physical interface.
QueryFailed
A platform query (registry, PowerShell) failed.
NoSourceConfigured
Running in a container, and no source is named
(HardwareProfile::collect_explicit with an empty list).
Trait Implementations§
Source§impl Clone for ProfileProblem
impl Clone for ProfileProblem
Source§fn clone(&self) -> ProfileProblem
fn clone(&self) -> ProfileProblem
Returns a copy 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 ProfileProblem
impl Debug for ProfileProblem
Source§impl<'de> Deserialize<'de> for ProfileProblem
impl<'de> Deserialize<'de> for ProfileProblem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProfileProblem
impl PartialEq for ProfileProblem
Source§impl Serialize for ProfileProblem
impl Serialize for ProfileProblem
impl Eq for ProfileProblem
impl StructuralPartialEq for ProfileProblem
Auto Trait Implementations§
impl Freeze for ProfileProblem
impl RefUnwindSafe for ProfileProblem
impl Send for ProfileProblem
impl Sync for ProfileProblem
impl Unpin for ProfileProblem
impl UnwindSafe for ProfileProblem
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