#[non_exhaustive]pub enum NotificationMessage {
Show 23 variants
HubProperties(HubProperty),
HubActions(HubActionRequest),
HubAlerts(HubAlert),
HubAttachedIo(AttachedIo),
GenericErrorMessages(ErrorMessageFormat),
HwNetworkCommands(NetworkCommand),
FwUpdateGoIntoBootMode([u8; 9]),
FwUpdateLockMemory([u8; 8]),
FwUpdateLockStatusRequest,
FwLockStatus(LockStatus),
PortInformationRequest(InformationRequest),
PortModeInformationRequest(ModeInformationRequest),
PortInputFormatSetupSingle(InputSetupSingle),
PortInputFormatSetupCombinedmode(InputSetupCombined),
PortInformation(PortInformationValue),
PortModeInformation(PortModeInformationValue),
PortValueSingle(PortValueSingleFormat),
PortValueCombined(PortValueCombinedFormat),
PortInputFormatSingle(PortInputFormatSingleFormat),
PortInputFormatCombinedmode(PortInputFormatCombinedFormat),
VirtualPortSetup(VirtualPortSetupFormat),
PortOutputCommand(PortOutputCommandFormat),
PortOutputCommandFeedback(PortOutputCommandFeedbackFormat),
}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.
HubProperties(HubProperty)
HubActions(HubActionRequest)
HubAlerts(HubAlert)
HubAttachedIo(AttachedIo)
GenericErrorMessages(ErrorMessageFormat)
HwNetworkCommands(NetworkCommand)
FwUpdateGoIntoBootMode([u8; 9])
FwUpdateLockMemory([u8; 8])
FwUpdateLockStatusRequest
FwLockStatus(LockStatus)
PortInformationRequest(InformationRequest)
PortModeInformationRequest(ModeInformationRequest)
PortInputFormatSetupSingle(InputSetupSingle)
PortInputFormatSetupCombinedmode(InputSetupCombined)
PortInformation(PortInformationValue)
PortModeInformation(PortModeInformationValue)
PortValueSingle(PortValueSingleFormat)
PortValueCombined(PortValueCombinedFormat)
PortInputFormatSingle(PortInputFormatSingleFormat)
PortInputFormatCombinedmode(PortInputFormatCombinedFormat)
VirtualPortSetup(VirtualPortSetupFormat)
PortOutputCommand(PortOutputCommandFormat)
PortOutputCommandFeedback(PortOutputCommandFeedbackFormat)
Implementations§
Trait Implementations§
Source§impl Clone for NotificationMessage
impl Clone for NotificationMessage
Source§fn clone(&self) -> NotificationMessage
fn clone(&self) -> NotificationMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NotificationMessage
impl Debug for NotificationMessage
Source§impl PartialEq for NotificationMessage
impl PartialEq for NotificationMessage
impl StructuralPartialEq for NotificationMessage
Auto Trait Implementations§
impl Freeze for NotificationMessage
impl RefUnwindSafe for NotificationMessage
impl Send for NotificationMessage
impl Sync for NotificationMessage
impl Unpin for NotificationMessage
impl UnsafeUnpin for NotificationMessage
impl UnwindSafe for NotificationMessage
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