pub enum GenesisJSONError {
Serde(Error),
CryptoError(CryptoError),
Base64(DecodeError),
ParseInt(ParseIntError),
ByronAddress(ParseExtendedAddrError),
SignatureParse(SignatureFromStrError),
StakeholderMissing(String),
}Variants§
Serde(Error)
CryptoError(CryptoError)
Base64(DecodeError)
ParseInt(ParseIntError)
ByronAddress(ParseExtendedAddrError)
SignatureParse(SignatureFromStrError)
StakeholderMissing(String)
Trait Implementations§
source§impl Debug for GenesisJSONError
impl Debug for GenesisJSONError
source§impl Display for GenesisJSONError
impl Display for GenesisJSONError
source§impl Error for GenesisJSONError
impl Error for GenesisJSONError
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 From<CryptoError> for GenesisJSONError
impl From<CryptoError> for GenesisJSONError
source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for GenesisJSONError
impl From<DecodeError> for GenesisJSONError
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for GenesisJSONError
impl From<Error> for GenesisJSONError
source§impl From<ParseExtendedAddrError> for GenesisJSONError
impl From<ParseExtendedAddrError> for GenesisJSONError
source§fn from(source: ParseExtendedAddrError) -> Self
fn from(source: ParseExtendedAddrError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for GenesisJSONError
impl From<ParseIntError> for GenesisJSONError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<SignatureFromStrError> for GenesisJSONError
impl From<SignatureFromStrError> for GenesisJSONError
source§fn from(source: SignatureFromStrError) -> Self
fn from(source: SignatureFromStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GenesisJSONError
impl !RefUnwindSafe for GenesisJSONError
impl !Send for GenesisJSONError
impl !Sync for GenesisJSONError
impl Unpin for GenesisJSONError
impl !UnwindSafe for GenesisJSONError
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