pub struct GetSensorReading { /* private fields */ }Implementations§
Source§impl GetSensorReading
impl GetSensorReading
pub fn new( sensor_number: SensorNumber, address: Address, channel: Channel, ) -> Self
pub fn for_sensor_key(value: &SensorKey) -> Self
Trait Implementations§
Source§impl From<GetSensorReading> for Message
impl From<GetSensorReading> for Message
Source§fn from(value: GetSensorReading) -> Self
fn from(value: GetSensorReading) -> Self
Converts to this type from the input type.
Source§impl IpmiCommand for GetSensorReading
impl IpmiCommand for GetSensorReading
type Output = RawSensorReading
type Error = ()
fn parse_response( completion_code: CompletionCode, data: &[u8], ) -> Result<Self::Output, ParseResponseError<Self::Error>>
fn target(&self) -> Option<(Address, Channel)>
fn check_cc_success( cc: CompletionCode, ) -> Result<(), ParseResponseError<Self::Error>>
Auto Trait Implementations§
impl Freeze for GetSensorReading
impl RefUnwindSafe for GetSensorReading
impl Send for GetSensorReading
impl Sync for GetSensorReading
impl Unpin for GetSensorReading
impl UnwindSafe for GetSensorReading
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