pub struct ReadWriteResponse {
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 ReadWriteResponse
impl Clone for ReadWriteResponse
Source§fn clone(&self) -> ReadWriteResponse
fn clone(&self) -> ReadWriteResponse
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 ReadWriteResponse
impl Debug for ReadWriteResponse
Source§impl From<ReadWriteResponse> for Response
impl From<ReadWriteResponse> for Response
Source§fn from(response: ReadWriteResponse) -> Self
fn from(response: ReadWriteResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReadWriteResponse
impl PartialEq for ReadWriteResponse
Source§impl ReadFrom for ReadWriteResponse
impl ReadFrom for ReadWriteResponse
Source§impl TryInto<ReadWriteResponse> for Response
impl TryInto<ReadWriteResponse> for Response
Source§type Error = TryIntoError
type Error = TryIntoError
The type returned in the event of a conversion error.
impl Eq for ReadWriteResponse
impl StructuralPartialEq for ReadWriteResponse
Auto Trait Implementations§
impl Freeze for ReadWriteResponse
impl RefUnwindSafe for ReadWriteResponse
impl Send for ReadWriteResponse
impl Sync for ReadWriteResponse
impl Unpin for ReadWriteResponse
impl UnwindSafe for ReadWriteResponse
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