[−][src]Struct dynamixel2::instructions::Raw
A raw instruction.
Fields
packet_id: u8
The packet ID.
instruction_id: u8
The instruction ID.
instruction_params: &'a [u8]
The instruction parameters.
response_params: &'a mut [u8]
Buffer for the response parameters.
Trait Implementations
impl<'_> Instruction for Raw<'_>
[src]
type Response = RawResponse
The response type.
fn request_packet_id(&self) -> u8
[src]
fn request_instruction_id(&self) -> u8
[src]
fn request_parameters_len(&self) -> u16
[src]
fn encode_request_parameters(&self, buffer: &mut [u8])
[src]
fn decode_response_parameters(
&mut self,
packet_id: u8,
parameters: &[u8]
) -> Result<Self::Response, InvalidMessage>
[src]
&mut self,
packet_id: u8,
parameters: &[u8]
) -> Result<Self::Response, InvalidMessage>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Raw<'a>
impl<'a> Send for Raw<'a>
impl<'a> Sync for Raw<'a>
impl<'a> Unpin for Raw<'a>
impl<'a> !UnwindSafe for Raw<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,