Struct ipmi_rs::sensor_event::GetSensorReading
source · pub struct GetSensorReading { /* private fields */ }Implementations§
source§impl GetSensorReading
impl GetSensorReading
pub fn new(value: SensorNumber) -> Self
pub fn for_sensor(sensor: SensorNumber) -> 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 check_cc_success( cc: CompletionCode ) -> Result<(), ParseResponseError<Self::Error>>
Auto Trait Implementations§
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