pub struct UnexpectedSeqError {
pub expected: u8,
pub received: u8,
}Expand description
Error emitted when an incoming sequence number does not match the expected sequence number.
Fields§
§expected: u8The sequence number expected by the receiver.
received: u8The sequence number that was actually received.
Trait Implementations§
Source§impl Clone for UnexpectedSeqError
impl Clone for UnexpectedSeqError
impl Copy for UnexpectedSeqError
Source§impl Debug for UnexpectedSeqError
impl Debug for UnexpectedSeqError
Source§impl Display for UnexpectedSeqError
impl Display for UnexpectedSeqError
impl Eq for UnexpectedSeqError
Source§impl Error for UnexpectedSeqError
impl Error for UnexpectedSeqError
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()
Source§impl PartialEq for UnexpectedSeqError
impl PartialEq for UnexpectedSeqError
impl StructuralPartialEq for UnexpectedSeqError
Auto Trait Implementations§
impl Freeze for UnexpectedSeqError
impl RefUnwindSafe for UnexpectedSeqError
impl Send for UnexpectedSeqError
impl Sync for UnexpectedSeqError
impl Unpin for UnexpectedSeqError
impl UnsafeUnpin for UnexpectedSeqError
impl UnwindSafe for UnexpectedSeqError
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