[−][src]Enum cortex::helpers::TaskStatus
An enumeration of the expected task statuses
Variants
currently queued for processing
everything went smoothly
minor issues
major issues
critical/panic issues
invalid task, fatal + discard from statistics
Blocked(i32)
currently blocked by dependencies
Queued(i32)
currently being processed (marker identifies batch)
Implementations
impl TaskStatus
[src]
pub fn raw(&self) -> i32
[src]
Maps the enumeration into the raw ints for the Task store
pub fn to_key(&self) -> String
[src]
Maps the enumeration into the raw severity string for the Task store logs / frontend reports
pub fn to_table(&self) -> String
[src]
Maps the enumeration into the Postgresql table name expected to hold messages for this status
pub fn from_raw(num: i32) -> Self
[src]
Maps from the raw Task store value into the enumeration
pub fn from_key(key: &str) -> Option<Self>
[src]
Maps from the raw severity log values into the enumeration
pub fn keys() -> Vec<String>
[src]
Returns all raw severity strings as a vector
Trait Implementations
impl Clone for TaskStatus
[src]
fn clone(&self) -> TaskStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TaskStatus
[src]
impl Eq for TaskStatus
[src]
impl PartialEq<TaskStatus> for TaskStatus
[src]
fn eq(&self, other: &TaskStatus) -> bool
[src]
fn ne(&self, other: &TaskStatus) -> bool
[src]
impl StructuralEq for TaskStatus
[src]
impl StructuralPartialEq for TaskStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnwindSafe for TaskStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,