pub struct ACKPacket {
pub pid: u8,
pub cmd: Command,
pub error: StatusError,
pub detail: StatusDetail,
}Expand description
An ACKPacket is a message sent by the servomotor and received by an AckReader.
Fields§
§pid: u8The ID of the servomotor who sent this packet
cmd: CommandThe command of the packet
error: StatusErrorStatus Error register content
detail: StatusDetailStatus Error register detail
Trait Implementations§
impl Eq for ACKPacket
impl StructuralPartialEq for ACKPacket
Auto Trait Implementations§
impl Freeze for ACKPacket
impl RefUnwindSafe for ACKPacket
impl Send for ACKPacket
impl Sync for ACKPacket
impl Unpin for ACKPacket
impl UnsafeUnpin for ACKPacket
impl UnwindSafe for ACKPacket
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