pub enum AddressingType {
Direct,
Broadcast,
Either,
}Expand description
This enum encodes the diferent ways in which a given message may be allowed to be addressed.
Hypothetically all messages can be addressed either directly or broadcast;
however, the specification states that each message type only has specific
ways it can be addressed. This enum encodes the various ways a message may
be allowed to be addressed, per the specification, and can be queried on
either a Message or an
Opcode.
Variants§
Direct
The given message can only be addressed directly to a specific logical address.
Broadcast
The given message can only be broadcast to all logical addresses.
Either
The given message can be either directly addressed or broadcast.
Trait Implementations§
Source§impl Clone for AddressingType
impl Clone for AddressingType
Source§fn clone(&self) -> AddressingType
fn clone(&self) -> AddressingType
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 AddressingType
impl Debug for AddressingType
Source§impl Hash for AddressingType
impl Hash for AddressingType
Source§impl PartialEq for AddressingType
impl PartialEq for AddressingType
impl Copy for AddressingType
impl Eq for AddressingType
impl StructuralPartialEq for AddressingType
Auto Trait Implementations§
impl Freeze for AddressingType
impl RefUnwindSafe for AddressingType
impl Send for AddressingType
impl Sync for AddressingType
impl Unpin for AddressingType
impl UnsafeUnpin for AddressingType
impl UnwindSafe for AddressingType
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