pub enum ArcMsgProtocolError {
MsgNotRecognized(u16),
Timeout(Duration),
ArcAsleep,
FwIntFailed,
InvalidMailbox(usize),
UnknownErrorCode(u8),
}Variants§
MsgNotRecognized(u16)
Timeout(Duration)
ArcAsleep
FwIntFailed
InvalidMailbox(usize)
UnknownErrorCode(u8)
Implementations§
Source§impl ArcMsgProtocolError
impl ArcMsgProtocolError
pub fn into_error(self) -> ArcMsgError
Trait Implementations§
Source§impl Debug for ArcMsgProtocolError
impl Debug for ArcMsgProtocolError
Source§impl Display for ArcMsgProtocolError
impl Display for ArcMsgProtocolError
Source§impl Error for ArcMsgProtocolError
impl Error for ArcMsgProtocolError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ArcMsgProtocolError
impl RefUnwindSafe for ArcMsgProtocolError
impl Send for ArcMsgProtocolError
impl Sync for ArcMsgProtocolError
impl Unpin for ArcMsgProtocolError
impl UnsafeUnpin for ArcMsgProtocolError
impl UnwindSafe for ArcMsgProtocolError
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