pub struct ConnectionParameters {
pub size: u16,
pub connection_type: u8,
pub priority: u8,
pub variable_size: bool,
}
Expand description
Connection parameters for EtherNet/IP connections
Fields§
§size: u16
Connection size in bytes
connection_type: u8
Connection type (0x02 = Point-to-point, 0x01 = Multicast)
priority: u8
Priority (0x00 = Low, 0x01 = High, 0x02 = Scheduled, 0x03 = Urgent)
variable_size: bool
Variable size flag
Trait Implementations§
Source§impl Clone for ConnectionParameters
impl Clone for ConnectionParameters
Source§fn clone(&self) -> ConnectionParameters
fn clone(&self) -> ConnectionParameters
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 moreSource§impl Debug for ConnectionParameters
impl Debug for ConnectionParameters
Auto Trait Implementations§
impl Freeze for ConnectionParameters
impl RefUnwindSafe for ConnectionParameters
impl Send for ConnectionParameters
impl Sync for ConnectionParameters
impl Unpin for ConnectionParameters
impl UnwindSafe for ConnectionParameters
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