Enum rust_libindy_wrapper::ErrorCode [−][src]
#[repr(i32)]pub enum ErrorCode { Success, CommonInvalidParam1, CommonInvalidParam2, CommonInvalidParam3, CommonInvalidParam4, CommonInvalidParam5, CommonInvalidParam6, CommonInvalidParam7, CommonInvalidParam8, CommonInvalidParam9, CommonInvalidParam10, CommonInvalidParam11, CommonInvalidParam12, CommonInvalidState, CommonInvalidStructure, CommonIOError, CommonInvalidParam13, CommonInvalidParam14, CommonInvalidParam15, CommonInvalidParam16, CommonInvalidParam17, CommonInvalidParam18, CommonInvalidParam19, CommonInvalidParam20, CommonInvalidParam21, CommonInvalidParam22, CommonInvalidParam23, CommonInvalidParam24, CommonInvalidParam25, CommonInvalidParam26, CommonInvalidParam27, WalletInvalidHandle, WalletUnknownTypeError, WalletTypeAlreadyRegisteredError, WalletAlreadyExistsError, WalletNotFoundError, WalletIncompatiblePoolError, WalletAlreadyOpenedError, WalletAccessFailed, WalletInputError, WalletDecodingError, WalletStorageError, WalletEncryptionError, WalletItemNotFound, WalletItemAlreadyExists, WalletQueryError, PoolLedgerNotCreatedError, PoolLedgerInvalidPoolHandle, PoolLedgerTerminated, LedgerNoConsensusError, LedgerInvalidTransaction, LedgerSecurityError, PoolLedgerConfigAlreadyExistsError, PoolLedgerTimeout, PoolIncompatibleProtocolVersion, AnoncredsRevocationRegistryFullError, AnoncredsInvalidUserRevocIndex, AnoncredsMasterSecretDuplicateNameError, AnoncredsProofRejected, AnoncredsCredentialRevoked, AnoncredsCredDefAlreadyExistsError, UnknownCryptoTypeError, DidAlreadyExistsError, UnknownPaymentMethod, IncompatiblePaymentError, PaymentInsufficientFundsError, PaymentSourceDoesNotExistError, PaymentExtraFundsError, }
Variants
SuccessCommonInvalidParam1CommonInvalidParam2CommonInvalidParam3CommonInvalidParam4CommonInvalidParam5CommonInvalidParam6CommonInvalidParam7CommonInvalidParam8CommonInvalidParam9CommonInvalidParam10CommonInvalidParam11CommonInvalidParam12CommonInvalidStateCommonInvalidStructureCommonIOErrorCommonInvalidParam13CommonInvalidParam14CommonInvalidParam15CommonInvalidParam16CommonInvalidParam17CommonInvalidParam18CommonInvalidParam19CommonInvalidParam20CommonInvalidParam21CommonInvalidParam22CommonInvalidParam23CommonInvalidParam24CommonInvalidParam25CommonInvalidParam26CommonInvalidParam27WalletInvalidHandleWalletUnknownTypeErrorWalletTypeAlreadyRegisteredErrorWalletAlreadyExistsErrorWalletNotFoundErrorWalletIncompatiblePoolErrorWalletAlreadyOpenedErrorWalletAccessFailedWalletInputErrorWalletDecodingErrorWalletStorageErrorWalletEncryptionErrorWalletItemNotFoundWalletItemAlreadyExistsWalletQueryErrorPoolLedgerNotCreatedErrorPoolLedgerInvalidPoolHandlePoolLedgerTerminatedLedgerNoConsensusErrorLedgerInvalidTransactionLedgerSecurityErrorPoolLedgerConfigAlreadyExistsErrorPoolLedgerTimeoutPoolIncompatibleProtocolVersionAnoncredsRevocationRegistryFullErrorAnoncredsInvalidUserRevocIndexAnoncredsMasterSecretDuplicateNameErrorAnoncredsProofRejectedAnoncredsCredentialRevokedAnoncredsCredDefAlreadyExistsErrorUnknownCryptoTypeErrorDidAlreadyExistsErrorUnknownPaymentMethodIncompatiblePaymentErrorPaymentInsufficientFundsErrorPaymentSourceDoesNotExistErrorPaymentExtraFundsError
Methods
impl ErrorCode[src]
impl ErrorCodepub fn description(&self) -> &'static str[src]
pub fn description(&self) -> &'static strpub fn is_ok(&self) -> bool[src]
pub fn is_ok(&self) -> boolpub fn is_err(&self) -> bool[src]
pub fn is_err(&self) -> boolpub fn try_err(&self) -> Result<(), ErrorCode>[src]
pub fn try_err(&self) -> Result<(), ErrorCode>Trait Implementations
impl Debug for ErrorCode[src]
impl Debug for ErrorCodefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ErrorCode[src]
impl PartialEq for ErrorCodefn eq(&self, other: &ErrorCode) -> bool[src]
fn eq(&self, other: &ErrorCode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for ErrorCode[src]
impl Copy for ErrorCodeimpl Clone for ErrorCode[src]
impl Clone for ErrorCodefn clone(&self) -> ErrorCode[src]
fn clone(&self) -> ErrorCodeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<i32> for ErrorCode[src]
impl From<i32> for ErrorCodeimpl Into<i32> for ErrorCode[src]
impl Into<i32> for ErrorCodeimpl From<RecvTimeoutError> for ErrorCode[src]
impl From<RecvTimeoutError> for ErrorCodefn from(err: RecvTimeoutError) -> Self[src]
fn from(err: RecvTimeoutError) -> SelfPerforms the conversion.
impl From<RecvError> for ErrorCode[src]
impl From<RecvError> for ErrorCode