pub enum PredictionStatus {
Starting,
Processing,
Succeeded,
Failed,
Canceled,
}
Expand description
Status of a retrieved or created prediction
Variants§
Starting
The prediction is starting up. If this status lasts longer than a few seconds, then it’s typically because a new worker is being started to run the prediction.
Processing
The predict()
method of the model is currently running.
Succeeded
The prediction completed successfully.
Failed
The prediction was canceled by its creator.
Canceled
The prediction was canceled by its creator.
Trait Implementations§
Source§impl Clone for PredictionStatus
impl Clone for PredictionStatus
Source§fn clone(&self) -> PredictionStatus
fn clone(&self) -> PredictionStatus
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 PredictionStatus
impl Debug for PredictionStatus
Source§impl<'de> Deserialize<'de> for PredictionStatus
impl<'de> Deserialize<'de> for PredictionStatus
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 PredictionStatus
impl PartialEq for PredictionStatus
Source§impl Serialize for PredictionStatus
impl Serialize for PredictionStatus
impl Eq for PredictionStatus
impl StructuralPartialEq for PredictionStatus
Auto Trait Implementations§
impl Freeze for PredictionStatus
impl RefUnwindSafe for PredictionStatus
impl Send for PredictionStatus
impl Sync for PredictionStatus
impl Unpin for PredictionStatus
impl UnwindSafe for PredictionStatus
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§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.