pub enum SlaveAddr {
ByPos(u16),
ByAlias(u16, u16),
}
Expand description
An EtherCAT slave, which is specified either by absolute position in the ring or by offset from a given alias.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SlaveAddr
impl Send for SlaveAddr
impl Sync for SlaveAddr
impl Unpin for SlaveAddr
impl UnwindSafe for SlaveAddr
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