pub struct MasterState {
pub slaves_responding: u32,
pub al_states: u8,
pub link_up: bool,
}Fields§
§slaves_responding: u32§al_states: u8§link_up: boolTrait Implementations§
Source§impl Clone for MasterState
impl Clone for MasterState
Source§fn clone(&self) -> MasterState
fn clone(&self) -> MasterState
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 moreAuto Trait Implementations§
impl Freeze for MasterState
impl RefUnwindSafe for MasterState
impl Send for MasterState
impl Sync for MasterState
impl Unpin for MasterState
impl UnwindSafe for MasterState
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