Enum dynamixel2::TransferError
source · pub enum TransferError {
WriteError(WriteError),
ReadError(ReadError),
}
Expand description
An error that can occur during a read/write transfer.
Variants§
Trait Implementations§
source§impl Debug for TransferError
impl Debug for TransferError
source§impl Display for TransferError
impl Display for TransferError
source§impl Error for TransferError
impl Error for TransferError
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 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 From<InvalidHeaderPrefix> for TransferError
impl From<InvalidHeaderPrefix> for TransferError
source§fn from(other: InvalidHeaderPrefix) -> Self
fn from(other: InvalidHeaderPrefix) -> Self
Converts to this type from the input type.
source§impl From<InvalidInstruction> for TransferError
impl From<InvalidInstruction> for TransferError
source§fn from(other: InvalidInstruction) -> Self
fn from(other: InvalidInstruction) -> Self
Converts to this type from the input type.
source§impl From<InvalidMessage> for TransferError
impl From<InvalidMessage> for TransferError
source§fn from(other: InvalidMessage) -> Self
fn from(other: InvalidMessage) -> Self
Converts to this type from the input type.
source§impl From<InvalidPacketId> for TransferError
impl From<InvalidPacketId> for TransferError
source§fn from(other: InvalidPacketId) -> Self
fn from(other: InvalidPacketId) -> 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 From<ReadError> for TransferError
impl From<ReadError> for TransferError
source§impl From<WriteError> for TransferError
impl From<WriteError> for TransferError
source§fn from(other: WriteError) -> Self
fn from(other: WriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransferError
impl !RefUnwindSafe for TransferError
impl Send for TransferError
impl Sync for TransferError
impl Unpin for TransferError
impl !UnwindSafe for TransferError
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