pub enum PaverEvent {
Show 15 variants
ReadAsset {
configuration: Configuration,
asset: Asset,
},
WriteAsset {
configuration: Configuration,
asset: Asset,
payload: Vec<u8>,
},
ReadFirmware {
configuration: Configuration,
firmware_type: String,
},
WriteFirmware {
configuration: Configuration,
firmware_type: String,
payload: Vec<u8>,
},
QueryActiveConfiguration,
QueryConfigurationLastSetActive,
QueryCurrentConfiguration,
QueryConfigurationStatus {
configuration: Configuration,
},
QueryConfigurationStatusAndBootAttempts {
configuration: Configuration,
},
SetConfigurationHealthy {
configuration: Configuration,
},
SetConfigurationActive {
configuration: Configuration,
},
SetConfigurationUnbootable {
configuration: Configuration,
},
SetOneShotRecovery,
BootManagerFlush,
DataSinkFlush,
}
Variants§
ReadAsset
WriteAsset
ReadFirmware
WriteFirmware
QueryActiveConfiguration
QueryConfigurationLastSetActive
QueryCurrentConfiguration
QueryConfigurationStatus
Fields
§
configuration: Configuration
QueryConfigurationStatusAndBootAttempts
Fields
§
configuration: Configuration
SetConfigurationHealthy
Fields
§
configuration: Configuration
SetConfigurationActive
Fields
§
configuration: Configuration
SetConfigurationUnbootable
Fields
§
configuration: Configuration
SetOneShotRecovery
BootManagerFlush
DataSinkFlush
Implementations§
Source§impl PaverEvent
impl PaverEvent
pub fn from_data_sink_request(request: &DataSinkRequest) -> PaverEvent
pub fn from_boot_manager_request(request: &BootManagerRequest) -> PaverEvent
Trait Implementations§
Source§impl Clone for PaverEvent
impl Clone for PaverEvent
Source§fn clone(&self) -> PaverEvent
fn clone(&self) -> PaverEvent
Returns a copy 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 PaverEvent
impl Debug for PaverEvent
Source§impl PartialEq for PaverEvent
impl PartialEq for PaverEvent
impl Eq for PaverEvent
impl StructuralPartialEq for PaverEvent
Auto Trait Implementations§
impl Freeze for PaverEvent
impl RefUnwindSafe for PaverEvent
impl Send for PaverEvent
impl Sync for PaverEvent
impl Unpin for PaverEvent
impl UnwindSafe for PaverEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)