pub struct NvidiaComputerSystem<B: Bmc> { /* private fields */ }Expand description
Represents a NVIDIA extension of computer system in the BMC.
Provides access to system information and sub-resources such as processors.
Implementations§
Source§impl<B: Bmc> NvidiaComputerSystem<B>
impl<B: Bmc> NvidiaComputerSystem<B>
Sourcepub fn raw(&self) -> Arc<NvidiaComputerSystemSchema> ⓘ
pub fn raw(&self) -> Arc<NvidiaComputerSystemSchema> ⓘ
Get the raw schema data for this NVIDIA computer system.
Returns an Arc to the underlying schema, allowing cheap cloning
and sharing of the data.
Sourcepub fn base_mac(&self) -> Option<BaseMac<&str>>
pub fn base_mac(&self) -> Option<BaseMac<&str>>
Get base MAC address of the device.
Quirk: undeclared by the schema, read from the response body.
None on any platform other than the BlueField DPU; see the
module documentation.
Sourcepub fn mode(&self) -> Option<Mode>
pub fn mode(&self) -> Option<Mode>
Get mode of the Bluefield device.
Quirk: undeclared by the schema, read from the response body.
None on any platform other than the BlueField DPU; see the
module documentation. Reporting the mode through the OEM
extension directly is supported only by Bluefield 3.
Auto Trait Implementations§
impl<B> Freeze for NvidiaComputerSystem<B>
impl<B> RefUnwindSafe for NvidiaComputerSystem<B>where
B: RefUnwindSafe,
impl<B> Send for NvidiaComputerSystem<B>
impl<B> Sync for NvidiaComputerSystem<B>
impl<B> Unpin for NvidiaComputerSystem<B>where
B: Unpin,
impl<B> UnsafeUnpin for NvidiaComputerSystem<B>
impl<B> UnwindSafe for NvidiaComputerSystem<B>where
B: UnwindSafe,
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