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: u8
The ID of the servomotor who sent this packet
cmd: Command
The command of the packet
error: StatusError
Status Error register content
detail: StatusDetail
Status Error register detail
Trait Implementations
impl Eq for ACKPacket
impl StructuralEq for ACKPacket
impl StructuralPartialEq for ACKPacket
Auto Trait Implementations
impl RefUnwindSafe for ACKPacket
impl Send for ACKPacket
impl Sync for ACKPacket
impl Unpin for ACKPacket
impl UnwindSafe for ACKPacket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more