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<UT> ConvertError<UT> for NimbusError
impl<UT> ConvertError<UT> for NimbusError
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
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
Source§impl From<VersionParsingError> for NimbusError
impl From<VersionParsingError> for NimbusError
Source§impl<UT> Lift<UT> for NimbusError
impl<UT> Lift<UT> for NimbusError
Source§impl<UT> Lower<UT> for NimbusError
impl<UT> Lower<UT> for NimbusError
Source§impl<UT> LowerError<UT> for NimbusError
impl<UT> LowerError<UT> for NimbusError
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
Source§impl<UT> TypeId<UT> for NimbusError
impl<UT> TypeId<UT> for NimbusError
const TYPE_ID_META: MetadataBuffer = _
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