Enum actix_tools::sentry::sentry_client::protocol::ThreadId [−]
Represents a thread id.
Variants
Int(u64)Integer representation for the thread id
String(String)String representation for the thread id
Trait Implementations
impl Serialize for ThreadId
impl Serialize for ThreadIdfn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
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 PartialOrd<ThreadId> for ThreadId
impl PartialOrd<ThreadId> for ThreadIdfn partial_cmp(&self, other: &ThreadId) -> Option<Ordering>
fn partial_cmp(&self, other: &ThreadId) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &ThreadId) -> bool
fn lt(&self, other: &ThreadId) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &ThreadId) -> bool
fn le(&self, other: &ThreadId) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &ThreadId) -> bool
fn gt(&self, other: &ThreadId) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &ThreadId) -> bool
fn ge(&self, other: &ThreadId) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Hash for ThreadId
impl Hash for ThreadIdfn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
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 Display for ThreadId
impl Display for ThreadIdfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Clone for ThreadId
impl Clone for ThreadIdfn clone(&self) -> ThreadId
fn clone(&self) -> ThreadIdReturns 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 Default for ThreadId
impl Default for ThreadIdimpl Debug for ThreadId
impl Debug for ThreadIdfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for ThreadId
impl<'de> Deserialize<'de> for ThreadIdfn deserialize<__D>(
__deserializer: __D
) -> Result<ThreadId, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ThreadId, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Ord for ThreadId
impl Ord for ThreadIdfn cmp(&self, other: &ThreadId) -> Ordering
fn cmp(&self, other: &ThreadId) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Eq for ThreadId
impl Eq for ThreadIdimpl PartialEq<ThreadId> for ThreadId
impl PartialEq<ThreadId> for ThreadIdfn eq(&self, other: &ThreadId) -> bool
fn eq(&self, other: &ThreadId) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ThreadId) -> bool
fn ne(&self, other: &ThreadId) -> boolThis method tests for !=.
impl<'a> From<&'a str> for ThreadId
impl<'a> From<&'a str> for ThreadIdimpl From<String> for ThreadId
impl From<String> for ThreadIdimpl From<i64> for ThreadId
impl From<i64> for ThreadIdimpl From<u16> for ThreadId
impl From<u16> for ThreadIdimpl From<i32> for ThreadId
impl From<i32> for ThreadIdimpl From<u32> for ThreadId
impl From<u32> for ThreadId