Struct dynamixel2::InvalidParameterCount 
source · pub struct InvalidParameterCount {
    pub actual: usize,
    pub expected: ExpectedCount,
}Expand description
The received message has an invalid or unexpected parameter count.
Fields§
§actual: usizeThe actual parameter count.
expected: ExpectedCountThe expected parameter count.
Implementations§
Trait Implementations§
source§impl Clone for InvalidParameterCount
 
impl Clone for InvalidParameterCount
source§fn clone(&self) -> InvalidParameterCount
 
fn clone(&self) -> InvalidParameterCount
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 InvalidParameterCount
 
impl Debug for InvalidParameterCount
source§impl Display for InvalidParameterCount
 
impl Display for InvalidParameterCount
source§impl Error for InvalidParameterCount
 
impl Error for InvalidParameterCount
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<InvalidParameterCount> for InvalidMessage
 
impl From<InvalidParameterCount> for InvalidMessage
source§fn from(other: InvalidParameterCount) -> Self
 
fn from(other: InvalidParameterCount) -> Self
Converts to this type from the input type.
source§impl From<InvalidParameterCount> for ReadError
 
impl From<InvalidParameterCount> for ReadError
source§fn from(other: InvalidParameterCount) -> Self
 
fn from(other: InvalidParameterCount) -> Self
Converts to this type from the input type.
source§impl From<InvalidParameterCount> for TransferError
 
impl From<InvalidParameterCount> for TransferError
source§fn from(other: InvalidParameterCount) -> Self
 
fn from(other: InvalidParameterCount) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvalidParameterCount
 
impl PartialEq for InvalidParameterCount
source§fn eq(&self, other: &InvalidParameterCount) -> bool
 
fn eq(&self, other: &InvalidParameterCount) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for InvalidParameterCount
impl StructuralPartialEq for InvalidParameterCount
Auto Trait Implementations§
impl Freeze for InvalidParameterCount
impl RefUnwindSafe for InvalidParameterCount
impl Send for InvalidParameterCount
impl Sync for InvalidParameterCount
impl Unpin for InvalidParameterCount
impl UnwindSafe for InvalidParameterCount
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