pub struct IdMismatch {
pub cell: u16,
pub token: u16,
}
Expand description
The comparison error for runtime tokens.
Fields§
§cell: u16
The identifier of the token the cell was expecting.
token: u16
The identifier of the token that was used to attempt accessing the cell’s contents.
Trait Implementations§
Source§impl Clone for IdMismatch
impl Clone for IdMismatch
Source§fn clone(&self) -> IdMismatch
fn clone(&self) -> IdMismatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IdMismatch
impl Debug for IdMismatch
Source§impl Display for IdMismatch
impl Display for IdMismatch
Source§impl Error for IdMismatch
impl Error for IdMismatch
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()
impl Copy for IdMismatch
Auto Trait Implementations§
impl Freeze for IdMismatch
impl RefUnwindSafe for IdMismatch
impl Send for IdMismatch
impl Sync for IdMismatch
impl Unpin for IdMismatch
impl UnwindSafe for IdMismatch
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