pub struct NodeAddress {
pub network: u8,
pub node: u8,
pub unit: u8,
}Expand description
Node address for FINS communication.
Represents a network/node/unit address in the FINS protocol.
Fields§
§network: u8Network address (0 = local network).
node: u8Node address (0 = local node for destination, or source node number).
unit: u8Unit address (0 = CPU unit).
Implementations§
Trait Implementations§
Source§impl Clone for NodeAddress
impl Clone for NodeAddress
Source§fn clone(&self) -> NodeAddress
fn clone(&self) -> NodeAddress
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 NodeAddress
impl Debug for NodeAddress
Source§impl Default for NodeAddress
impl Default for NodeAddress
Source§impl PartialEq for NodeAddress
impl PartialEq for NodeAddress
impl Copy for NodeAddress
impl Eq for NodeAddress
impl StructuralPartialEq for NodeAddress
Auto Trait Implementations§
impl Freeze for NodeAddress
impl RefUnwindSafe for NodeAddress
impl Send for NodeAddress
impl Sync for NodeAddress
impl Unpin for NodeAddress
impl UnsafeUnpin for NodeAddress
impl UnwindSafe for NodeAddress
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