pub struct GetDeviceId;Expand description
The Get Device ID command.
Trait Implementations§
Source§impl From<GetDeviceId> for Message
impl From<GetDeviceId> for Message
Source§fn from(_: GetDeviceId) -> Self
fn from(_: GetDeviceId) -> Self
Converts to this type from the input type.
Source§impl IpmiCommand for GetDeviceId
impl IpmiCommand for GetDeviceId
Source§type Error = NotEnoughData
type Error = NotEnoughData
The type of error that can occur while parsing the response for this
command.
Source§fn parse_success_response(data: &[u8]) -> Result<Self::Output, Self::Error>
fn parse_success_response(data: &[u8]) -> Result<Self::Output, Self::Error>
Try to parse the expected response for this command from the
provided
data, assuming a successful completion code.Source§fn handle_completion_code(
completion_code: CompletionErrorCode,
data: &[u8],
) -> Option<Self::Error>
fn handle_completion_code( completion_code: CompletionErrorCode, data: &[u8], ) -> Option<Self::Error>
Handle the provided completion code
completion_code and optionally provide
a special error in case of failure. Read moreAuto Trait Implementations§
impl Freeze for GetDeviceId
impl RefUnwindSafe for GetDeviceId
impl Send for GetDeviceId
impl Sync for GetDeviceId
impl Unpin for GetDeviceId
impl UnwindSafe for GetDeviceId
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