#[non_exhaustive]#[repr(u8)]pub enum Message {
HecInquireState {
terminating_address1: PhysicalAddress,
terminating_address2: PhysicalAddress,
},
HecReportState {
physical_address: PhysicalAddress,
state: HecState,
field: Option<HecField>,
},
HecSetStateAdjacent {
terminating_address: PhysicalAddress,
state: bool,
},
HecSetState {
terminating_address1: PhysicalAddress,
terminating_address2: PhysicalAddress,
state: bool,
terminating_addresses: BoundedBufferOperand<3, PhysicalAddress>,
},
HecRequestDeactivation {
terminating_address1: PhysicalAddress,
terminating_address2: PhysicalAddress,
terminating_address3: PhysicalAddress,
},
HecNotifyAlive = 5,
HecDiscover = 6,
HpdSetState(InputPortHpdState),
HpdReportState(HpdStateErrorCode),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HecInquireState
HecReportState
HecSetStateAdjacent
HecSetState
Fields
§
terminating_address1: PhysicalAddress§
terminating_address2: PhysicalAddress§
terminating_addresses: BoundedBufferOperand<3, PhysicalAddress>HecRequestDeactivation
Fields
§
terminating_address1: PhysicalAddress§
terminating_address2: PhysicalAddress§
terminating_address3: PhysicalAddressHecNotifyAlive = 5
HecDiscover = 6
HpdSetState(InputPortHpdState)
HpdReportState(HpdStateErrorCode)
Implementations§
Trait Implementations§
Source§impl OperandEncodable for Message
impl OperandEncodable for Message
impl Copy for Message
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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