Struct ethercat::MasterInfo
source · pub struct MasterInfo {
pub slave_count: u32,
pub link_up: bool,
pub scan_busy: bool,
pub app_time: u64,
}
Fields§
§slave_count: u32
§link_up: bool
§scan_busy: bool
§app_time: u64
Trait Implementations§
source§impl Clone for MasterInfo
impl Clone for MasterInfo
source§fn clone(&self) -> MasterInfo
fn clone(&self) -> MasterInfo
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 moreAuto Trait Implementations§
impl RefUnwindSafe for MasterInfo
impl Send for MasterInfo
impl Sync for MasterInfo
impl Unpin for MasterInfo
impl UnwindSafe for MasterInfo
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