[][src]Enum sentry_types::protocol::v7::ThreadId

pub enum ThreadId {
    Int(u64),
    String(String),
}

Represents a thread id.

Variants

Int(u64)

Integer representation for the thread id

String(String)

String representation for the thread id

Trait Implementations

impl Clone for ThreadId[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<ThreadId> for ThreadId[src]

impl PartialOrd<ThreadId> for ThreadId[src]

impl Eq for ThreadId[src]

impl Ord for ThreadId[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<'a> From<&'a str> for ThreadId[src]

impl From<String> for ThreadId[src]

impl From<i64> for ThreadId[src]

impl From<i32> for ThreadId[src]

impl From<u32> for ThreadId[src]

impl From<u16> for ThreadId[src]

impl Default for ThreadId[src]

impl Hash for ThreadId[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for ThreadId[src]

impl Debug for ThreadId[src]

impl Serialize for ThreadId[src]

impl<'de> Deserialize<'de> for ThreadId[src]

Auto Trait Implementations

impl Send for ThreadId

impl Sync for ThreadId

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]