pub enum NimbusError {
Show 26 variants
InvalidPersistedData,
RkvError(StoreError),
IOError(Error),
JSONError(String, String),
EvaluationError(String),
InvalidExpression,
InvalidFraction,
TryFromSliceError(TryFromSliceError),
EmptyRatiosError,
OutOfBoundsError,
UrlParsingError(ParseError),
UuidError(Error),
InvalidExperimentFormat,
InvalidPath(String),
InternalError(&'static str),
NoSuchExperiment(String),
NoSuchBranch(String, String),
DatabaseNotReady,
VersionParsingError(String),
BehaviorError(BehaviorError),
TryFromIntError(TryFromIntError),
ParseIntError(ParseIntError),
TransformParameterError(String),
ClientError(RemoteSettingsError),
UniFFICallbackError(UnexpectedUniFFICallbackError),
RegexError(Error),
}
Variants§
InvalidPersistedData
RkvError(StoreError)
IOError(Error)
JSONError(String, String)
EvaluationError(String)
InvalidExpression
InvalidFraction
TryFromSliceError(TryFromSliceError)
EmptyRatiosError
OutOfBoundsError
UrlParsingError(ParseError)
UuidError(Error)
InvalidExperimentFormat
InvalidPath(String)
InternalError(&'static str)
NoSuchExperiment(String)
NoSuchBranch(String, String)
DatabaseNotReady
VersionParsingError(String)
BehaviorError(BehaviorError)
TryFromIntError(TryFromIntError)
ParseIntError(ParseIntError)
TransformParameterError(String)
ClientError(RemoteSettingsError)
UniFFICallbackError(UnexpectedUniFFICallbackError)
RegexError(Error)
Trait Implementations§
source§impl Debug for NimbusError
impl Debug for NimbusError
source§impl Display for NimbusError
impl Display for NimbusError
source§impl Error for NimbusError
impl Error for NimbusError
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<BehaviorError> for NimbusError
impl From<BehaviorError> for NimbusError
source§fn from(source: BehaviorError) -> Self
fn from(source: BehaviorError) -> Self
Converts to this type from the input type.
source§impl From<Error> for NimbusError
impl From<Error> for NimbusError
source§impl From<Error> for NimbusError
impl From<Error> for NimbusError
source§impl From<Error> for NimbusError
impl From<Error> for NimbusError
source§impl<'a> From<EvaluationError<'a>> for NimbusError
impl<'a> From<EvaluationError<'a>> for NimbusError
source§impl From<ParseError> for NimbusError
impl From<ParseError> for NimbusError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for NimbusError
impl From<ParseIntError> for NimbusError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<RemoteSettingsError> for NimbusError
impl From<RemoteSettingsError> for NimbusError
source§impl From<StoreError> for NimbusError
impl From<StoreError> for NimbusError
source§impl From<TryFromIntError> for NimbusError
impl From<TryFromIntError> for NimbusError
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSliceError> for NimbusError
impl From<TryFromSliceError> for NimbusError
source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
source§impl From<UnexpectedUniFFICallbackError> for NimbusError
impl From<UnexpectedUniFFICallbackError> for NimbusError
Auto Trait Implementations§
impl Freeze for NimbusError
impl !RefUnwindSafe for NimbusError
impl Send for NimbusError
impl Sync for NimbusError
impl Unpin for NimbusError
impl !UnwindSafe for NimbusError
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<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more