pub enum IpmiError<CON, P> {
NetFnIsResponse(NetFn),
UnexpectedResponse {
netfn_sent: NetFn,
netfn_recvd: NetFn,
cmd_sent: u8,
cmd_recvd: u8,
},
ParsingFailed {
error: P,
netfn: NetFn,
cmd: u8,
completion_code: u8,
data: Vec<u8>,
},
Connection(CON),
}Variants§
Implementations§
Trait Implementations§
impl<CON, P> StructuralPartialEq for IpmiError<CON, P>
Auto Trait Implementations§
impl<CON, P> Freeze for IpmiError<CON, P>
impl<CON, P> RefUnwindSafe for IpmiError<CON, P>where
P: RefUnwindSafe,
CON: RefUnwindSafe,
impl<CON, P> Send for IpmiError<CON, P>
impl<CON, P> Sync for IpmiError<CON, P>
impl<CON, P> Unpin for IpmiError<CON, P>
impl<CON, P> UnwindSafe for IpmiError<CON, P>where
P: UnwindSafe,
CON: 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