pub enum NodeID {
None,
Node(u8),
Broadcast,
}
Expand description
ID for a node on the network.
Variants§
None
No node ID set (not connected to a network).
Node(u8)
A normal node on the network, counting from 1 (the host) to 16, inclusive.
Broadcast
Broadcast to all nodes
Trait Implementations§
impl Copy for NodeID
impl Eq for NodeID
impl StructuralPartialEq for NodeID
Auto Trait Implementations§
impl RefUnwindSafe for NodeID
impl Send for NodeID
impl Sync for NodeID
impl Unpin for NodeID
impl UnwindSafe for NodeID
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more