#[non_exhaustive]pub enum WithdrawalDecodeErrorCategory {
MalformedInput,
ResourceExhaustion,
}Expand description
Stable high-level withdrawal decode error categories.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MalformedInput
Input is malformed for a withdrawals list or withdrawal entry.
ResourceExhaustion
The active decode policy rejected the input as too large or too deep.
Trait Implementations§
Source§impl Clone for WithdrawalDecodeErrorCategory
impl Clone for WithdrawalDecodeErrorCategory
Source§fn clone(&self) -> WithdrawalDecodeErrorCategory
fn clone(&self) -> WithdrawalDecodeErrorCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WithdrawalDecodeErrorCategory
impl Eq for WithdrawalDecodeErrorCategory
Source§impl PartialEq for WithdrawalDecodeErrorCategory
impl PartialEq for WithdrawalDecodeErrorCategory
Source§fn eq(&self, other: &WithdrawalDecodeErrorCategory) -> bool
fn eq(&self, other: &WithdrawalDecodeErrorCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WithdrawalDecodeErrorCategory
Auto Trait Implementations§
impl Freeze for WithdrawalDecodeErrorCategory
impl RefUnwindSafe for WithdrawalDecodeErrorCategory
impl Send for WithdrawalDecodeErrorCategory
impl Sync for WithdrawalDecodeErrorCategory
impl Unpin for WithdrawalDecodeErrorCategory
impl UnsafeUnpin for WithdrawalDecodeErrorCategory
impl UnwindSafe for WithdrawalDecodeErrorCategory
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