pub struct GetDeviceSdrInfo<T> { /* private fields */ }Implementations§
Source§impl<T> GetDeviceSdrInfo<T>
impl<T> GetDeviceSdrInfo<T>
Trait Implementations§
Source§impl<T: Clone> Clone for GetDeviceSdrInfo<T>
impl<T: Clone> Clone for GetDeviceSdrInfo<T>
Source§fn clone(&self) -> GetDeviceSdrInfo<T>
fn clone(&self) -> GetDeviceSdrInfo<T>
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<T: Debug> Debug for GetDeviceSdrInfo<T>
impl<T: Debug> Debug for GetDeviceSdrInfo<T>
Source§impl From<GetDeviceSdrInfo<SdrCount>> for Message
impl From<GetDeviceSdrInfo<SdrCount>> for Message
Source§fn from(_: GetDeviceSdrInfo<SdrCount>) -> Self
fn from(_: GetDeviceSdrInfo<SdrCount>) -> Self
Converts to this type from the input type.
Source§impl From<GetDeviceSdrInfo<SensorCount>> for Message
impl From<GetDeviceSdrInfo<SensorCount>> for Message
Source§fn from(_: GetDeviceSdrInfo<SensorCount>) -> Self
fn from(_: GetDeviceSdrInfo<SensorCount>) -> Self
Converts to this type from the input type.
Source§impl IpmiCommand for GetDeviceSdrInfo<SdrCount>
impl IpmiCommand for GetDeviceSdrInfo<SdrCount>
type Output = DeviceSdrInfo<NumberOfSdrs>
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>>
fn target(&self) -> Option<(Address, Channel)>
Source§impl IpmiCommand for GetDeviceSdrInfo<SensorCount>
impl IpmiCommand for GetDeviceSdrInfo<SensorCount>
type Output = DeviceSdrInfo<NumberOfSensors>
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>>
fn target(&self) -> Option<(Address, Channel)>
Source§impl<T: PartialEq> PartialEq for GetDeviceSdrInfo<T>
impl<T: PartialEq> PartialEq for GetDeviceSdrInfo<T>
impl<T: Copy> Copy for GetDeviceSdrInfo<T>
impl<T> StructuralPartialEq for GetDeviceSdrInfo<T>
Auto Trait Implementations§
impl<T> Freeze for GetDeviceSdrInfo<T>
impl<T> RefUnwindSafe for GetDeviceSdrInfo<T>where
T: RefUnwindSafe,
impl<T> Send for GetDeviceSdrInfo<T>where
T: Send,
impl<T> Sync for GetDeviceSdrInfo<T>where
T: Sync,
impl<T> Unpin for GetDeviceSdrInfo<T>where
T: Unpin,
impl<T> UnwindSafe for GetDeviceSdrInfo<T>where
T: 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