pub enum LimitsError {
ZeroLimit {
name: &'static str,
},
ExceedsCeiling {
name: &'static str,
requested: usize,
ceiling: usize,
},
}Expand description
Errors occurring from invalid or excessive extraction limits.
Variants§
Trait Implementations§
Source§impl Clone for LimitsError
impl Clone for LimitsError
Source§fn clone(&self) -> LimitsError
fn clone(&self) -> LimitsError
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 LimitsError
impl Debug for LimitsError
Source§impl Deserialize<'static> for LimitsError
impl Deserialize<'static> for LimitsError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LimitsError
impl Display for LimitsError
impl Eq for LimitsError
Source§impl Error for LimitsError
impl Error for LimitsError
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()
Source§impl From<LimitsError> for WebAssessmentRuntimeError
impl From<LimitsError> for WebAssessmentRuntimeError
Source§fn from(source: LimitsError) -> Self
fn from(source: LimitsError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LimitsError
impl PartialEq for LimitsError
Source§impl Serialize for LimitsError
impl Serialize for LimitsError
impl StructuralPartialEq for LimitsError
Auto Trait Implementations§
impl Freeze for LimitsError
impl RefUnwindSafe for LimitsError
impl Send for LimitsError
impl Sync for LimitsError
impl Unpin for LimitsError
impl UnsafeUnpin for LimitsError
impl UnwindSafe for LimitsError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more