Struct ipmi_rs::storage::sdr::GetDeviceSdr
source · pub struct GetDeviceSdr { /* private fields */ }Expand description
Get a device SDR.
This command must be used in accordance with the IPMI spec, i.e.
all SDRs must be obtained sequentially. It is recommended that you use
the Ipmi::sdrs function for this.
Implementations§
source§impl GetDeviceSdr
impl GetDeviceSdr
pub fn new(reservation_id: Option<NonZeroU16>, record_id: RecordId) -> Self
Trait Implementations§
source§impl Clone for GetDeviceSdr
impl Clone for GetDeviceSdr
source§fn clone(&self) -> GetDeviceSdr
fn clone(&self) -> GetDeviceSdr
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 GetDeviceSdr
impl Debug for GetDeviceSdr
source§impl From<GetDeviceSdr> for Message
impl From<GetDeviceSdr> for Message
source§fn from(value: GetDeviceSdr) -> Self
fn from(value: GetDeviceSdr) -> Self
Converts to this type from the input type.
source§impl IpmiCommand for GetDeviceSdr
impl IpmiCommand for GetDeviceSdr
type Output = RecordInfo
type Error = ()
fn parse_response( completion_code: CompletionCode, data: &[u8] ) -> Result<Self::Output, ParseResponseError<Self::Error>>
fn check_cc_success( cc: CompletionCode ) -> Result<(), ParseResponseError<Self::Error>>
impl Copy for GetDeviceSdr
Auto Trait Implementations§
impl RefUnwindSafe for GetDeviceSdr
impl Send for GetDeviceSdr
impl Sync for GetDeviceSdr
impl Unpin for GetDeviceSdr
impl UnwindSafe for GetDeviceSdr
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