pub enum Base64DecodeReferenceError {
InvalidLength {
len: usize,
},
CapacityOverflow {
blocks: usize,
},
DecodedLengthOverflow {
decoded_words: usize,
},
Allocation {
requested: usize,
source: String,
},
}Expand description
CPU-reference base64 decode failure.
Variants§
InvalidLength
Base64 input must be padded to full 4-byte quads.
CapacityOverflow
Decoded fixed-capacity word count overflowed host usize.
DecodedLengthOverflow
Decoded fixed-capacity word count cannot fit the public u32 length ABI.
Allocation
Host output staging reservation failed.
Trait Implementations§
Source§impl Clone for Base64DecodeReferenceError
impl Clone for Base64DecodeReferenceError
Source§fn clone(&self) -> Base64DecodeReferenceError
fn clone(&self) -> Base64DecodeReferenceError
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 moreSource§impl Debug for Base64DecodeReferenceError
impl Debug for Base64DecodeReferenceError
Source§impl Display for Base64DecodeReferenceError
impl Display for Base64DecodeReferenceError
impl Eq for Base64DecodeReferenceError
Source§impl Error for Base64DecodeReferenceError
impl Error for Base64DecodeReferenceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
impl StructuralPartialEq for Base64DecodeReferenceError
Auto Trait Implementations§
impl Freeze for Base64DecodeReferenceError
impl RefUnwindSafe for Base64DecodeReferenceError
impl Send for Base64DecodeReferenceError
impl Sync for Base64DecodeReferenceError
impl Unpin for Base64DecodeReferenceError
impl UnsafeUnpin for Base64DecodeReferenceError
impl UnwindSafe for Base64DecodeReferenceError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.