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
sourceimpl Clone for ProcessState
impl Clone for ProcessState
sourcefn clone(&self) -> ProcessState
fn clone(&self) -> ProcessState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProcessState
impl Debug for ProcessState
sourceimpl Default for ProcessState
impl Default for ProcessState
sourcefn default() -> ProcessState
fn default() -> ProcessState
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for ProcessState
impl FromByteSlice for ProcessState
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> ProcessState
fn from_le_bytes(bytes: &[u8]) -> ProcessState
Deserialize the implementing type from a byte slice.
sourceimpl Hash for ProcessState
impl Hash for ProcessState
sourceimpl PartialEq<ProcessState> for ProcessState
impl PartialEq<ProcessState> for ProcessState
sourcefn eq(&self, other: &ProcessState) -> bool
fn eq(&self, other: &ProcessState) -> bool
impl Copy for ProcessState
impl Eq for ProcessState
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more