Struct tinkerforge::red_brick::ProcessState
source · pub struct ProcessState {
pub error_code: u8,
pub state: u8,
pub timestamp: u64,
pub exit_code: u8,
}
Fields§
§error_code: u8
§state: u8
§timestamp: u64
§exit_code: u8
Trait Implementations§
source§impl Clone for ProcessState
impl Clone for ProcessState
source§fn clone(&self) -> ProcessState
fn clone(&self) -> ProcessState
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 ProcessState
impl Debug for ProcessState
source§impl Default for ProcessState
impl Default for ProcessState
source§fn default() -> ProcessState
fn default() -> ProcessState
Returns the “default value” for a type. Read more
source§impl FromByteSlice for ProcessState
impl FromByteSlice for ProcessState
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]) -> ProcessState
fn from_le_byte_slice(bytes: &[u8]) -> ProcessState
Deserialize the implementing type from a byte slice.
source§impl Hash for ProcessState
impl Hash for ProcessState
source§impl PartialEq for ProcessState
impl PartialEq for ProcessState
source§fn eq(&self, other: &ProcessState) -> bool
fn eq(&self, other: &ProcessState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessState
impl Eq for ProcessState
impl StructuralPartialEq for ProcessState
Auto Trait Implementations§
impl RefUnwindSafe for ProcessState
impl Send for ProcessState
impl Sync for ProcessState
impl Unpin for ProcessState
impl UnwindSafe for ProcessState
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