pub enum StartupKeepaliveReason {
Zero {
field: KeepaliveField,
requested: u64,
required_minimum: u64,
},
OutOfRange {
field: KeepaliveField,
requested: u64,
supported_min: u64,
supported_max: u64,
platform: PlatformName,
},
GranularityMismatch {
field: KeepaliveField,
requested: u64,
granularity: u64,
platform: PlatformName,
},
UnsupportedPlatform {
platform: PlatformName,
},
UnsupportedOption {
option: KeepaliveOption,
platform: PlatformName,
},
}Expand description
Startup-only keepalive validation or support failure.
Variants§
Zero
A required numeric value was zero.
Fields
§
field: KeepaliveFieldFirst zero field in certification order.
OutOfRange
Requested value is outside the signed platform range.
Fields
§
field: KeepaliveFieldFirst out-of-range field in certification order.
§
platform: PlatformNameSigned target-platform descriptor.
GranularityMismatch
Requested value cannot be represented at platform granularity.
Fields
§
field: KeepaliveFieldFirst mismatched field in certification order.
§
platform: PlatformNameSigned target-platform descriptor.
UnsupportedPlatform
No signed keepalive descriptor exists for the platform.
Fields
§
platform: PlatformNameUnsupported target-platform descriptor.
UnsupportedOption
A required option is absent from the signed descriptor.
Fields
§
option: KeepaliveOptionFirst unsupported option in certification order.
§
platform: PlatformNameSigned target-platform descriptor.
Trait Implementations§
Source§impl Clone for StartupKeepaliveReason
impl Clone for StartupKeepaliveReason
Source§fn clone(&self) -> StartupKeepaliveReason
fn clone(&self) -> StartupKeepaliveReason
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 StartupKeepaliveReason
impl Debug for StartupKeepaliveReason
impl Eq for StartupKeepaliveReason
Source§impl PartialEq for StartupKeepaliveReason
impl PartialEq for StartupKeepaliveReason
impl StructuralPartialEq for StartupKeepaliveReason
Auto Trait Implementations§
impl Freeze for StartupKeepaliveReason
impl RefUnwindSafe for StartupKeepaliveReason
impl Send for StartupKeepaliveReason
impl Sync for StartupKeepaliveReason
impl Unpin for StartupKeepaliveReason
impl UnsafeUnpin for StartupKeepaliveReason
impl UnwindSafe for StartupKeepaliveReason
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