Struct rain_task::TaskId [−][src]
pub struct TaskId { /* fields omitted */ }
ID type for task objects.
Trait Implementations
impl PartialOrd<TaskId> for TaskId
[src]
impl PartialOrd<TaskId> for TaskId
fn partial_cmp(&self, other: &TaskId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &TaskId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &TaskId) -> bool
[src]
fn lt(&self, other: &TaskId) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &TaskId) -> bool
[src]
fn le(&self, other: &TaskId) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &TaskId) -> bool
[src]
fn gt(&self, other: &TaskId) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &TaskId) -> bool
[src]
fn ge(&self, other: &TaskId) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl ReadCapnp for TaskId
[src]
impl ReadCapnp for TaskId
fn read_capnp<R>(r: &mut R) -> TaskId where
R: Read,
[src]
fn read_capnp<R>(r: &mut R) -> TaskId where
R: Read,
impl Hash for TaskId
[src]
impl Hash for TaskId
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> FromCapnp<'a> for TaskId
[src]
impl<'a> FromCapnp<'a> for TaskId
impl<'de> Deserialize<'de> for TaskId
[src]
impl<'de> Deserialize<'de> for TaskId
fn deserialize<D>(
deserializer: D
) -> Result<TaskId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(
deserializer: D
) -> Result<TaskId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for TaskId
[src]
impl Clone for TaskId
fn clone(&self) -> TaskId
[src]
fn clone(&self) -> TaskId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for TaskId
[src]
impl Debug for TaskId
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Ord for TaskId
[src]
impl Ord for TaskId
fn cmp(&self, other: &TaskId) -> Ordering
[src]
fn cmp(&self, other: &TaskId) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<'a> ToCapnp<'a> for TaskId
[src]
impl<'a> ToCapnp<'a> for TaskId
impl SId for TaskId
[src]
impl SId for TaskId
fn new(session_id: i32, id: i32) -> TaskId
[src]
fn new(session_id: i32, id: i32) -> TaskId
fn get_id(&self) -> i32
[src]
fn get_id(&self) -> i32
fn get_session_id(&self) -> i32
[src]
fn get_session_id(&self) -> i32
fn invalid() -> Self
[src]
fn invalid() -> Self
fn is_invalid(&self) -> bool
[src]
fn is_invalid(&self) -> bool
impl Display for TaskId
[src]
impl Display for TaskId
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Default for TaskId
[src]
impl Default for TaskId
impl Copy for TaskId
[src]
impl Copy for TaskId
impl Eq for TaskId
[src]
impl Eq for TaskId
impl Serialize for TaskId
[src]
impl Serialize for TaskId
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl PartialEq<TaskId> for TaskId
[src]
impl PartialEq<TaskId> for TaskId