Struct tinkerforge::red_brick::AsyncFileWriteEvent
source · pub struct AsyncFileWriteEvent {
pub file_id: u16,
pub error_code: u8,
pub length_written: u8,
}
Fields§
§file_id: u16
§error_code: u8
§length_written: u8
Trait Implementations§
source§impl Clone for AsyncFileWriteEvent
impl Clone for AsyncFileWriteEvent
source§fn clone(&self) -> AsyncFileWriteEvent
fn clone(&self) -> AsyncFileWriteEvent
Returns a copy 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 AsyncFileWriteEvent
impl Debug for AsyncFileWriteEvent
source§impl Default for AsyncFileWriteEvent
impl Default for AsyncFileWriteEvent
source§fn default() -> AsyncFileWriteEvent
fn default() -> AsyncFileWriteEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for AsyncFileWriteEvent
impl FromByteSlice for AsyncFileWriteEvent
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> AsyncFileWriteEvent
fn from_le_byte_slice(bytes: &[u8]) -> AsyncFileWriteEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for AsyncFileWriteEvent
impl Hash for AsyncFileWriteEvent
source§impl PartialEq for AsyncFileWriteEvent
impl PartialEq for AsyncFileWriteEvent
source§fn eq(&self, other: &AsyncFileWriteEvent) -> bool
fn eq(&self, other: &AsyncFileWriteEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AsyncFileWriteEvent
impl Eq for AsyncFileWriteEvent
impl StructuralPartialEq for AsyncFileWriteEvent
Auto Trait Implementations§
impl RefUnwindSafe for AsyncFileWriteEvent
impl Send for AsyncFileWriteEvent
impl Sync for AsyncFileWriteEvent
impl Unpin for AsyncFileWriteEvent
impl UnwindSafe for AsyncFileWriteEvent
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