Trait IpmiCommand

Source
pub trait IpmiCommand: Into<Message> {
    type Output;
    type Error;

    // Required method
    fn parse_response(
        completion_code: CompletionCode,
        data: &[u8],
    ) -> Result<Self::Output, ParseResponseError<Self::Error>>;

    // Provided methods
    fn check_cc_success(
        cc: CompletionCode,
    ) -> Result<(), ParseResponseError<Self::Error>> { ... }
    fn target(&self) -> Option<(Address, Channel)> { ... }
}

Required Associated Types§

Required Methods§

Source

fn parse_response( completion_code: CompletionCode, data: &[u8], ) -> Result<Self::Output, ParseResponseError<Self::Error>>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl IpmiCommand for ActivateSession

Source§

impl IpmiCommand for GetChannelAuthenticationCapabilities

Source§

impl IpmiCommand for GetChannelCipherSuites

Source§

impl IpmiCommand for GetSessionChallenge

Source§

impl IpmiCommand for GetDeviceId

Source§

impl IpmiCommand for GetSensorReading

Source§

impl IpmiCommand for GetDeviceSdr

Source§

impl IpmiCommand for GetDeviceSdrInfo<SdrCount>

Source§

impl IpmiCommand for GetDeviceSdrInfo<SensorCount>

Source§

impl IpmiCommand for ipmi_rs::storage::sdr::GetSdrAllocInfo

Source§

impl IpmiCommand for GetRepositoryInfo

Source§

impl IpmiCommand for ipmi_rs::storage::sel::GetSelAllocInfo

Source§

impl IpmiCommand for GetEntry

Source§

impl IpmiCommand for GetInfo