#[repr(u32)]pub enum LucieneError {
Show 15 variants
ModelNotInitialized = 0,
InsufficientPriceHistory = 1,
StalePriceData = 2,
InvalidPriceData = 3,
PredictionFailed = 4,
FeatureCalculationFailed = 5,
Unauthorized = 6,
ModelInactive = 7,
LowPriceConfidence = 8,
ComputationError = 9,
ArrayLengthMismatch = 10,
PriceFeedNotFound = 11,
InvalidFeedId = 12,
IncompleteTrainingData = 13,
MetricsUpdateFailed = 14,
}Variants§
ModelNotInitialized = 0
InsufficientPriceHistory = 1
StalePriceData = 2
InvalidPriceData = 3
PredictionFailed = 4
FeatureCalculationFailed = 5
ModelInactive = 7
LowPriceConfidence = 8
ComputationError = 9
ArrayLengthMismatch = 10
PriceFeedNotFound = 11
InvalidFeedId = 12
IncompleteTrainingData = 13
MetricsUpdateFailed = 14
Implementations§
Trait Implementations§
Source§impl Clone for LucieneError
impl Clone for LucieneError
Source§fn clone(&self) -> LucieneError
fn clone(&self) -> LucieneError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LucieneError
impl Debug for LucieneError
Source§impl Display for LucieneError
impl Display for LucieneError
Source§impl From<LucieneError> for Error
impl From<LucieneError> for Error
Source§fn from(error_code: LucieneError) -> Error
fn from(error_code: LucieneError) -> Error
Converts to this type from the input type.
Source§impl From<LucieneError> for u32
impl From<LucieneError> for u32
Source§fn from(e: LucieneError) -> u32
fn from(e: LucieneError) -> u32
Converts to this type from the input type.
impl Copy for LucieneError
Auto Trait Implementations§
impl Freeze for LucieneError
impl RefUnwindSafe for LucieneError
impl Send for LucieneError
impl Sync for LucieneError
impl Unpin for LucieneError
impl UnsafeUnpin for LucieneError
impl UnwindSafe for LucieneError
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