Enum dcl_crypto::account::EphemeralPayloadError
source · pub enum EphemeralPayloadError {
InvalidPayload,
MissingTitle,
MissingAddress,
InvalidAddress {
err: DecodeHexError,
value: String,
},
MissingExpiration,
InvalidExpiration {
err: ParseError,
value: String,
},
}
Variants§
Trait Implementations§
source§impl Debug for EphemeralPayloadError
impl Debug for EphemeralPayloadError
source§impl Display for EphemeralPayloadError
impl Display for EphemeralPayloadError
source§impl Error for EphemeralPayloadError
impl Error for EphemeralPayloadError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for EphemeralPayloadError
impl PartialEq for EphemeralPayloadError
source§fn eq(&self, other: &EphemeralPayloadError) -> bool
fn eq(&self, other: &EphemeralPayloadError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EphemeralPayloadError
Auto Trait Implementations§
impl RefUnwindSafe for EphemeralPayloadError
impl Send for EphemeralPayloadError
impl Sync for EphemeralPayloadError
impl Unpin for EphemeralPayloadError
impl UnwindSafe for EphemeralPayloadError
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