pub enum PlanHandlerError {
BadRequest(String),
}Expand description
Error surfaced by handle_evaluate_plan when the request body is
malformed. Aggregate plan denials are NOT represented here; those
are carried inside the successful response.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PlanHandlerError
impl Clone for PlanHandlerError
Source§fn clone(&self) -> PlanHandlerError
fn clone(&self) -> PlanHandlerError
Returns a duplicate of the value. Read more
1.0.0 · 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 PlanHandlerError
impl Debug for PlanHandlerError
Source§impl<'de> Deserialize<'de> for PlanHandlerError
impl<'de> Deserialize<'de> for PlanHandlerError
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 PartialEq for PlanHandlerError
impl PartialEq for PlanHandlerError
Source§impl Serialize for PlanHandlerError
impl Serialize for PlanHandlerError
impl Eq for PlanHandlerError
impl StructuralPartialEq for PlanHandlerError
Auto Trait Implementations§
impl Freeze for PlanHandlerError
impl RefUnwindSafe for PlanHandlerError
impl Send for PlanHandlerError
impl Sync for PlanHandlerError
impl Unpin for PlanHandlerError
impl UnsafeUnpin for PlanHandlerError
impl UnwindSafe for PlanHandlerError
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.