Struct open_feature::EvaluationError
source · pub struct EvaluationError {
pub code: EvaluationErrorCode,
pub message: Option<String>,
}Expand description
Struct representing error
Fields§
§code: EvaluationErrorCodeThe error code of abnormal evaluation.
message: Option<String>The custom error message returned by the provider.
Implementations§
Trait Implementations§
source§impl Clone for EvaluationError
impl Clone for EvaluationError
source§fn clone(&self) -> EvaluationError
fn clone(&self) -> EvaluationError
Returns a copy 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 EvaluationError
impl Debug for EvaluationError
source§impl PartialEq for EvaluationError
impl PartialEq for EvaluationError
source§fn eq(&self, other: &EvaluationError) -> bool
fn eq(&self, other: &EvaluationError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for EvaluationError
impl StructuralPartialEq for EvaluationError
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationError
impl Send for EvaluationError
impl Sync for EvaluationError
impl Unpin for EvaluationError
impl UnwindSafe for EvaluationError
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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