Struct nebula_fbthrift_meta::TaskResult
source · pub struct TaskResult(pub i32);
Tuple Fields§
§0: i32
Implementations§
source§impl TaskResult
impl TaskResult
pub const SUCCEEDED: TaskResult = TaskResult(0i32)
pub const FAILED: TaskResult = TaskResult(1i32)
pub const IN_PROGRESS: TaskResult = TaskResult(2i32)
pub const INVALID: TaskResult = TaskResult(3i32)
Trait Implementations§
source§impl Clone for TaskResult
impl Clone for TaskResult
source§fn clone(&self) -> TaskResult
fn clone(&self) -> TaskResult
Returns a copy 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 TaskResult
impl Debug for TaskResult
source§impl Default for TaskResult
impl Default for TaskResult
source§fn default() -> TaskResult
fn default() -> TaskResult
Returns the “default value” for a type. Read more
source§impl<P> Deserialize<P> for TaskResultwhere
P: ProtocolReader,
impl<P> Deserialize<P> for TaskResultwhere
P: ProtocolReader,
source§impl Display for TaskResult
impl Display for TaskResult
source§impl From<i32> for TaskResult
impl From<i32> for TaskResult
source§fn from(x: i32) -> TaskResult
fn from(x: i32) -> TaskResult
Converts to this type from the input type.
source§impl FromStr for TaskResult
impl FromStr for TaskResult
source§impl Hash for TaskResult
impl Hash for TaskResult
source§impl Ord for TaskResult
impl Ord for TaskResult
source§fn cmp(&self, other: &TaskResult) -> Ordering
fn cmp(&self, other: &TaskResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TaskResult> for TaskResult
impl PartialEq<TaskResult> for TaskResult
source§fn eq(&self, other: &TaskResult) -> bool
fn eq(&self, other: &TaskResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TaskResult> for TaskResult
impl PartialOrd<TaskResult> for TaskResult
source§fn partial_cmp(&self, other: &TaskResult) -> Option<Ordering>
fn partial_cmp(&self, other: &TaskResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more