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 duplicate 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 = (ParseError, RecordId)
fn parse_response( completion_code: CompletionCode, data: &[u8], ) -> Result<Self::Output, ParseResponseError<Self::Error>>
fn check_cc_success( cc: CompletionCode, ) -> Result<(), ParseResponseError<Self::Error>>
fn target(&self) -> Option<(Address, Channel)>
impl Copy for GetDeviceSdr
Auto Trait Implementations§
impl Freeze for GetDeviceSdr
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