[][src]Enum stratum_types::params::Results

pub enum Results<PP> where
    PP: PoolParams
{ AuthorizeResult(PP::AuthorizeResult), SubscribeResult(PP::SubscribeResult), SubmitResult(bool), Unknown(Value), }

Variants

AuthorizeResult(PP::AuthorizeResult)
SubscribeResult(PP::SubscribeResult)
SubmitResult(bool)
Unknown(Value)

Trait Implementations

impl<PP: Clone> Clone for Results<PP> where
    PP: PoolParams,
    PP::AuthorizeResult: Clone,
    PP::SubscribeResult: Clone
[src]

impl<PP: Debug> Debug for Results<PP> where
    PP: PoolParams,
    PP::AuthorizeResult: Debug,
    PP::SubscribeResult: Debug
[src]

impl<'de, PP> Deserialize<'de> for Results<PP> where
    PP: PoolParams,
    PP::AuthorizeResult: Deserialize<'de>,
    PP::SubscribeResult: Deserialize<'de>, 
[src]

impl<PP> Serialize for Results<PP> where
    PP: PoolParams,
    PP::AuthorizeResult: Serialize,
    PP::SubscribeResult: Serialize
[src]

Auto Trait Implementations

impl<PP> RefUnwindSafe for Results<PP> where
    <PP as PoolParams>::AuthorizeResult: RefUnwindSafe,
    <PP as PoolParams>::SubscribeResult: RefUnwindSafe

impl<PP> Send for Results<PP> where
    <PP as PoolParams>::AuthorizeResult: Send,
    <PP as PoolParams>::SubscribeResult: Send

impl<PP> Sync for Results<PP> where
    <PP as PoolParams>::AuthorizeResult: Sync,
    <PP as PoolParams>::SubscribeResult: Sync

impl<PP> Unpin for Results<PP> where
    <PP as PoolParams>::AuthorizeResult: Unpin,
    <PP as PoolParams>::SubscribeResult: Unpin

impl<PP> UnwindSafe for Results<PP> where
    <PP as PoolParams>::AuthorizeResult: UnwindSafe,
    <PP as PoolParams>::SubscribeResult: UnwindSafe

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: Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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>,