pub struct Memory<B: Bmc> { /* private fields */ }Expand description
Represents a memory module (DIMM) in a computer system.
Provides access to memory module information and associated metrics/sensors.
Implementations§
Source§impl<B: Bmc> Memory<B>
impl<B: Bmc> Memory<B>
Sourcepub fn raw(&self) -> Arc<MemorySchema>
pub fn raw(&self) -> Arc<MemorySchema>
Get the raw schema data for this memory module.
Returns an Arc to the underlying schema, allowing cheap cloning
and sharing of the data.
Trait Implementations§
Source§impl<B: Bmc> Resource for Memory<B>
impl<B: Bmc> Resource for Memory<B>
Source§fn resource_ref(&self) -> &ResourceSchema
fn resource_ref(&self) -> &ResourceSchema
Required function. Must be implemented for Redfish resources.
Source§fn id(&self) -> ResourceIdRef<'_>
fn id(&self) -> ResourceIdRef<'_>
Identifier of the resource.
Source§fn name(&self) -> ResourceNameRef<'_>
fn name(&self) -> ResourceNameRef<'_>
Name of the resource.
Source§fn description(&self) -> Option<ResourceDescriptionRef<'_>>
fn description(&self) -> Option<ResourceDescriptionRef<'_>>
Description of the resource.
Auto Trait Implementations§
impl<B> Freeze for Memory<B>
impl<B> RefUnwindSafe for Memory<B>where
B: RefUnwindSafe,
impl<B> Send for Memory<B>
impl<B> Sync for Memory<B>
impl<B> Unpin for Memory<B>
impl<B> UnsafeUnpin for Memory<B>
impl<B> UnwindSafe for Memory<B>where
B: RefUnwindSafe,
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