pub struct ReadResponse {
pub result: AdsError,
pub length: u32,
pub data: Vec<u8>,
pub command_id: CommandID,
}Fields§
§result: AdsError§length: u32§data: Vec<u8>§command_id: CommandIDImplementations§
Trait Implementations§
Source§impl Clone for ReadResponse
impl Clone for ReadResponse
Source§fn clone(&self) -> ReadResponse
fn clone(&self) -> ReadResponse
Returns a duplicate 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 ReadResponse
impl Debug for ReadResponse
Source§impl From<ReadResponse> for Response
impl From<ReadResponse> for Response
Source§fn from(response: ReadResponse) -> Self
fn from(response: ReadResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReadResponse
impl PartialEq for ReadResponse
Source§impl TryInto<ReadResponse> for Response
impl TryInto<ReadResponse> for Response
Source§type Error = TryIntoError
type Error = TryIntoError
The type returned in the event of a conversion error.
impl Eq for ReadResponse
impl StructuralPartialEq for ReadResponse
Auto Trait Implementations§
impl Freeze for ReadResponse
impl RefUnwindSafe for ReadResponse
impl Send for ReadResponse
impl Sync for ReadResponse
impl Unpin for ReadResponse
impl UnwindSafe for ReadResponse
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