pub enum LegacyBootstrapError {
Show 18 variants
NotReady,
Unknown(u8),
NoRequest,
NoMagic,
TooBig,
TooHigh,
NoAlign,
NoRound,
BadKey,
BadStart,
NoWipe,
NoWipe0,
NoWipe1,
NotEmpty,
NoWrite,
BadAdr,
Overflow,
RepeatedErrors,
}
Variants§
NotReady
Unknown(u8)
NoRequest
NoMagic
TooBig
TooHigh
NoAlign
NoRound
BadKey
BadStart
NoWipe
NoWipe0
NoWipe1
NotEmpty
NoWrite
BadAdr
Overflow
RepeatedErrors
Trait Implementations§
Source§impl Debug for LegacyBootstrapError
impl Debug for LegacyBootstrapError
Source§impl<'de> Deserialize<'de> for LegacyBootstrapError
impl<'de> Deserialize<'de> for LegacyBootstrapError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LegacyBootstrapError
impl Display for LegacyBootstrapError
Source§impl Error for LegacyBootstrapError
impl Error for LegacyBootstrapError
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 From<u8> for LegacyBootstrapError
impl From<u8> for LegacyBootstrapError
Source§fn from(value: u8) -> LegacyBootstrapError
fn from(value: u8) -> LegacyBootstrapError
Converts to this type from the input type.
Source§impl SerializableError for LegacyBootstrapError
impl SerializableError for LegacyBootstrapError
fn as_anyhow_error(self: Box<LegacyBootstrapError>) -> Error
Auto Trait Implementations§
impl Freeze for LegacyBootstrapError
impl RefUnwindSafe for LegacyBootstrapError
impl Send for LegacyBootstrapError
impl Sync for LegacyBootstrapError
impl Unpin for LegacyBootstrapError
impl UnwindSafe for LegacyBootstrapError
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