#[repr(transparent)]pub struct RomError(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl RomError
impl RomError
pub const Ok: RomError = _
pub const WriteBootdataThenReboot: RomError = _
pub const Unknown: RomError = _
pub const SigverifyBadRsaSignature: RomError = _
pub const SigverifyBadSpxSignature: RomError = _
pub const SigverifyBadKey: RomError = _
pub const SigverifyBadRsaKey: RomError = _
pub const SigverifyBadSpxKey: RomError = _
pub const SigverifyLargeRsaSignature: RomError = _
pub const SigverifyBadEcdsaSignature: RomError = _
pub const SigverifyBadAuthPartition: RomError = _
pub const SigverifyBadEcdsaKey: RomError = _
pub const SigverifyBadSpxConfig: RomError = _
pub const KeymgrInternal: RomError = _
pub const ManifestBadEntryPoint: RomError = _
pub const ManifestBadCodeRegion: RomError = _
pub const ManifestBadSignedRegion: RomError = _
pub const ManifestBadExtension: RomError = _
pub const ManifestBadVersionMajor: RomError = _
pub const AlertBadIndex: RomError = _
pub const AlertBadClass: RomError = _
pub const AlertBadEnable: RomError = _
pub const AlertBadEscalation: RomError = _
pub const AlertBadCrc32: RomError = _
pub const RomBootFailed: RomError = _
pub const RomResetReasonFault: RomError = _
pub const Interrupt: RomError = _
pub const EpmpBadCheck: RomError = _
pub const KmacInvalidStatus: RomError = _
pub const KmacInvalidKeySize: RomError = _
pub const OtbnInvalidArgument: RomError = _
pub const OtbnBadOffsetLen: RomError = _
pub const OtbnExecutionFailed: RomError = _
pub const OtbnSecWipeImemFailed: RomError = _
pub const OtbnSecWipeDmemFailed: RomError = _
pub const OtbnBadInsnCount: RomError = _
pub const FlashCtrlDataRead: RomError = _
pub const FlashCtrlInfoRead: RomError = _
pub const FlashCtrlDataWrite: RomError = _
pub const FlashCtrlInfoWrite: RomError = _
pub const FlashCtrlDataErase: RomError = _
pub const FlashCtrlInfoErase: RomError = _
pub const FlashCtrlDataEraseVerify: RomError = _
pub const BootPolicyBadIdentifier: RomError = _
pub const BootPolicyBadLength: RomError = _
pub const BootPolicyRollback: RomError = _
pub const BootstrapEraseAddress: RomError = _
pub const BootstrapProgramAddress: RomError = _
pub const BootstrapInvalidState: RomError = _
pub const BootstrapNotRequested: RomError = _
pub const BootstrapDisabledRomExt: RomError = _
pub const LogBadFormatSpecifier: RomError = _
pub const BootDataNotFound: RomError = _
pub const BootDataWriteCheck: RomError = _
pub const BootDataInvalid: RomError = _
pub const SpiDevicePayloadOverflow: RomError = _
pub const AstInitNotDone: RomError = _
pub const RstmgrBadInit: RomError = _
pub const RndBadCrc32: RomError = _
pub const BootSvcBadHeader: RomError = _
pub const BootSvcBadSlot: RomError = _
pub const BootSvcBadSecVer: RomError = _
pub const RomExtBootFailed: RomError = _
pub const XModemTimeoutStart: RomError = _
pub const XModemTimeoutPacket: RomError = _
pub const XModemTimeoutData: RomError = _
pub const XModemTimeoutCrc: RomError = _
pub const XModemTimeoutAck: RomError = _
pub const XModemCrc: RomError = _
pub const XModemEndOfFile: RomError = _
pub const XModemCancel: RomError = _
pub const XModemUnknown: RomError = _
pub const XModemProtocol: RomError = _
pub const XModemTooManyErrors: RomError = _
pub const RomExtInterrupt: RomError = _
pub const BootLogInvalid: RomError = _
pub const Asn1Internal: RomError = _
pub const Asn1StartInvalidArgument: RomError = _
pub const Asn1PushBytesInvalidArgument: RomError = _
pub const Asn1PushIntegerPadInvalidArgument: RomError = _
pub const Asn1PushIntegerInvalidArgument: RomError = _
pub const Asn1FinishBitstringInvalidArgument: RomError = _
pub const Asn1BufferExhausted: RomError = _
pub const RetRamBadVersion: RomError = _
pub const RescueReboot: RomError = _
pub const RescueBadMode: RomError = _
pub const RescueImageTooBig: RomError = _
pub const CertInternal: RomError = _
pub const CertInvalidArgument: RomError = _
pub const CertInvalidSize: RomError = _
pub const OwnershipInvalidNonce: RomError = _
pub const OwnershipInvalidMode: RomError = _
pub const OwnershipInvalidSignature: RomError = _
pub const OwnershipInvalidState: RomError = _
pub const OwnershipInvalidRequest: RomError = _
pub const OwnershipInvalidTag: RomError = _
pub const OwnershipInvalidTagLength: RomError = _
pub const OwnershipDuplicateItem: RomError = _
pub const OwnershipFlashConfigLenth: RomError = _
pub const OwnershipInvalidInfoPage: RomError = _
pub const OwnershipBadInfoPage: RomError = _
pub const OwnershipNoOwner: RomError = _
pub const OwnershipKeyNotFound: RomError = _
pub const PersoTlvInternal: RomError = _
pub const PersoTlvCertObjNotFound: RomError = _
pub const PersoTlvCertNameTooLong: RomError = _
pub const PersoTlvOutputBufTooSmall: RomError = _
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RomError
impl<'de> Deserialize<'de> for RomError
Source§fn deserialize<D>(deserializer: D) -> Result<RomError, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<RomError, D::Error>where
D: Deserializer<'de>,
Deserializes the value by forwarding to deserialize_any
.
deserialize_any
will forward strings to the string visitor
and forward integers to the appropriate integer visitor.
Source§impl Error for RomError
impl Error for RomError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl Ord for RomError
impl Ord for RomError
Source§impl PartialOrd for RomError
impl PartialOrd for RomError
impl Copy for RomError
impl Eq for RomError
impl StructuralPartialEq for RomError
Auto Trait Implementations§
impl Freeze for RomError
impl RefUnwindSafe for RomError
impl Send for RomError
impl Sync for RomError
impl Unpin for RomError
impl UnwindSafe for RomError
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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