Struct dynamixel2::InvalidChecksum
source · pub struct InvalidChecksum {
pub message: u16,
pub computed: u16,
}
Expand description
The received message has an invalid checksum value.
Fields§
§message: u16
The checksum from the messsage.
computed: u16
The actual checksum.
Trait Implementations§
source§impl Clone for InvalidChecksum
impl Clone for InvalidChecksum
source§fn clone(&self) -> InvalidChecksum
fn clone(&self) -> InvalidChecksum
Returns a copy 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 InvalidChecksum
impl Debug for InvalidChecksum
source§impl Display for InvalidChecksum
impl Display for InvalidChecksum
source§impl Error for InvalidChecksum
impl Error for InvalidChecksum
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<InvalidChecksum> for InvalidMessage
impl From<InvalidChecksum> for InvalidMessage
source§fn from(other: InvalidChecksum) -> Self
fn from(other: InvalidChecksum) -> Self
Converts to this type from the input type.
source§impl From<InvalidChecksum> for ReadError
impl From<InvalidChecksum> for ReadError
source§fn from(other: InvalidChecksum) -> Self
fn from(other: InvalidChecksum) -> Self
Converts to this type from the input type.
source§impl From<InvalidChecksum> for TransferError
impl From<InvalidChecksum> for TransferError
source§fn from(other: InvalidChecksum) -> Self
fn from(other: InvalidChecksum) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvalidChecksum
impl PartialEq for InvalidChecksum
source§fn eq(&self, other: &InvalidChecksum) -> bool
fn eq(&self, other: &InvalidChecksum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvalidChecksum
impl StructuralPartialEq for InvalidChecksum
Auto Trait Implementations§
impl Freeze for InvalidChecksum
impl RefUnwindSafe for InvalidChecksum
impl Send for InvalidChecksum
impl Sync for InvalidChecksum
impl Unpin for InvalidChecksum
impl UnwindSafe for InvalidChecksum
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