pub struct PlanLimitError {
pub kind: PlanLimitKind,
pub limit: usize,
pub actual: usize,
}Expand description
An understanding exceeded a limit.
Fields§
§kind: PlanLimitKindWhich limit.
limit: usizeThe configured limit.
actual: usizeThe observed count.
Trait Implementations§
Source§impl Clone for PlanLimitError
impl Clone for PlanLimitError
Source§impl Debug for PlanLimitError
impl Debug for PlanLimitError
Source§impl<'de> Deserialize<'de> for PlanLimitError
impl<'de> Deserialize<'de> for PlanLimitError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PlanLimitError
impl Display for PlanLimitError
impl Eq for PlanLimitError
Source§impl Error for PlanLimitError
impl Error for PlanLimitError
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<PlanLimitError> for ReductionError
impl From<PlanLimitError> for ReductionError
Source§fn from(value: PlanLimitError) -> Self
fn from(value: PlanLimitError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlanLimitError
impl PartialEq for PlanLimitError
Source§impl Serialize for PlanLimitError
impl Serialize for PlanLimitError
impl StructuralPartialEq for PlanLimitError
Auto Trait Implementations§
impl Freeze for PlanLimitError
impl RefUnwindSafe for PlanLimitError
impl Send for PlanLimitError
impl Sync for PlanLimitError
impl Unpin for PlanLimitError
impl UnsafeUnpin for PlanLimitError
impl UnwindSafe for PlanLimitError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.