pub enum TypeDepthError {
TypeDepthUnknown = -1,
TypeDepthMultiple = -2,
TypeDepthBridge = -3,
TypeDepthPCIDevice = -4,
TypeDepthOSDevice = -5,
Unkown = -99,
}Variants§
TypeDepthUnknown = -1
No object of given type exists in the topology.
TypeDepthMultiple = -2
Objects of given type exist at different depth in the topology.
TypeDepthBridge = -3
Virtual depth for bridge object level.
TypeDepthPCIDevice = -4
Virtual depth for PCI device object level.
TypeDepthOSDevice = -5
Virtual depth for software device object level.
Unkown = -99
HWLOC returned a depth error which is not known to the rust binding.
Trait Implementations§
Source§impl Debug for TypeDepthError
impl Debug for TypeDepthError
Source§impl PartialEq for TypeDepthError
impl PartialEq for TypeDepthError
impl StructuralPartialEq for TypeDepthError
Auto Trait Implementations§
impl Freeze for TypeDepthError
impl RefUnwindSafe for TypeDepthError
impl Send for TypeDepthError
impl Sync for TypeDepthError
impl Unpin for TypeDepthError
impl UnwindSafe for TypeDepthError
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