Struct tinkerforge::red_brick::WriteFile
source · pub struct WriteFile {
pub error_code: u8,
pub length_written: u8,
}
Fields§
§error_code: u8
§length_written: u8
Trait Implementations§
source§impl FromByteSlice for WriteFile
impl FromByteSlice for WriteFile
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]) -> WriteFile
fn from_le_byte_slice(bytes: &[u8]) -> WriteFile
Deserialize the implementing type from a byte slice.
source§impl PartialEq for WriteFile
impl PartialEq for WriteFile
impl Copy for WriteFile
impl Eq for WriteFile
impl StructuralPartialEq for WriteFile
Auto Trait Implementations§
impl RefUnwindSafe for WriteFile
impl Send for WriteFile
impl Sync for WriteFile
impl Unpin for WriteFile
impl UnwindSafe for WriteFile
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