[][src]Enum sentry::protocol::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]

impl Debug for ThreadId[src]

impl Default for ThreadId[src]

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

impl Display for ThreadId[src]

impl Eq for ThreadId[src]

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

impl From<String> for ThreadId[src]

impl From<i32> for ThreadId[src]

impl From<i64> for ThreadId[src]

impl From<u16> for ThreadId[src]

impl From<u32> for ThreadId[src]

impl Hash for ThreadId[src]

impl Ord for ThreadId[src]

impl PartialEq<ThreadId> for ThreadId[src]

impl PartialOrd<ThreadId> for ThreadId[src]

impl Serialize for ThreadId[src]

impl StructuralEq for ThreadId[src]

impl StructuralPartialEq for ThreadId[src]

Auto Trait Implementations

impl RefUnwindSafe for ThreadId

impl Send for ThreadId

impl Sync for ThreadId

impl Unpin for ThreadId

impl UnwindSafe for ThreadId

Blanket Implementations

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

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,