Enum wasm_utils::types::OpStatusCode
source · [−]#[repr(u32)]
pub enum OpStatusCode {
Show 36 variants
Unknown,
InvalidHexLength,
HexParsingFailed,
InvalidNoteLength,
InvalidNotePrefix,
InvalidNoteVersion,
InvalidNoteId,
InvalidNoteBlockNumber,
InvalidNoteSecrets,
MerkleTreeNotFound,
SerializationFailed,
DeserializationFailed,
InvalidArrayLength,
InvalidCurve,
InvalidHasFunction,
InvalidBackend,
InvalidDenomination,
SecretGenFailed,
InvalidSourceChain,
InvalidTargetChain,
InvalidTokenSymbol,
InvalidExponentiation,
InvalidWidth,
InvalidAmount,
InvalidProofParameters,
InvalidProvingKey,
InvalidRecipient,
InvalidRelayer,
InvalidLeafIndex,
InvalidFee,
InvalidRefund,
InvalidLeaves,
FailedToGenerateTheLeaf,
ProofBuilderNoteNotSet,
CommitmentNotSet,
RootsNotSet,
}Variants
Unknown
InvalidHexLength
Invalid hex string length when decoding
HexParsingFailed
Failed to parse hex string
InvalidNoteLength
Invalid number of note parts when decoding
InvalidNotePrefix
Invalid note prefix
InvalidNoteVersion
Invalid note version
InvalidNoteId
Invalid note id when parsing
InvalidNoteBlockNumber
Invalid note block number when parsing
InvalidNoteSecrets
Invalid note secrets
MerkleTreeNotFound
Unable to find merkle tree
SerializationFailed
Failed serialization of passed params Error for failing to parse rust type into JsValue
DeserializationFailed
Failed deserialization of JsValue into rust type
InvalidArrayLength
Invalid Array of 32 bytes.
InvalidCurve
Invalid curve when parsing
InvalidHasFunction
Invalid hashFunction id when parsing
InvalidBackend
Invalid backend id when parsing
InvalidDenomination
Invalid denomination id when parsing
SecretGenFailed
Failed to generate secrets
InvalidSourceChain
Invalid Source chain
InvalidTargetChain
Invalid target chain
InvalidTokenSymbol
Invalid Token Symbol
InvalidExponentiation
Invalid Exponentiation
InvalidWidth
Invalid Width
InvalidAmount
Invalid Amount
InvalidProofParameters
Invalid proof parameters
InvalidProvingKey
Invalid Proving key
InvalidRecipient
Invalid Recipient
InvalidRelayer
Invalid Relayer
InvalidLeafIndex
Invalid LeafIndex
InvalidFee
Invalid Fee
InvalidRefund
Invalid Refund
InvalidLeaves
Invalid InvalidLeaves
FailedToGenerateTheLeaf
Failed to Generating Leaf
ProofBuilderNoteNotSet
Note not set
CommitmentNotSet
Commitment not set
RootsNotSet
Neighbour Roots aren’t set
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for OpStatusCode
impl Send for OpStatusCode
impl Sync for OpStatusCode
impl Unpin for OpStatusCode
impl UnwindSafe for OpStatusCode
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more