[][src]Enum stratum_types::params::PoolParam

pub enum PoolParam<PP, SP> where
    PP: PoolParams,
    SP: StratumParams
{ Notify(SP::Notify), AuthorizeResult(PP::Authorized), SubmitResult(bool), Unknown(Value), }

Variants

Notify(SP::Notify)
AuthorizeResult(PP::Authorized)
SubmitResult(bool)
Unknown(Value)

Trait Implementations

impl<PP: Clone, SP: Clone> Clone for PoolParam<PP, SP> where
    PP: PoolParams,
    SP: StratumParams,
    SP::Notify: Clone,
    PP::Authorized: Clone
[src]

impl<PP: Debug, SP: Debug> Debug for PoolParam<PP, SP> where
    PP: PoolParams,
    SP: StratumParams,
    SP::Notify: Debug,
    PP::Authorized: Debug
[src]

impl<'de, PP, SP> Deserialize<'de> for PoolParam<PP, SP> where
    PP: PoolParams,
    SP: StratumParams,
    SP::Notify: Deserialize<'de>,
    PP::Authorized: Deserialize<'de>, 
[src]

impl<PP, SP> Serialize for PoolParam<PP, SP> where
    PP: PoolParams,
    SP: StratumParams,
    SP::Notify: Serialize,
    PP::Authorized: Serialize
[src]

Auto Trait Implementations

impl<PP, SP> RefUnwindSafe for PoolParam<PP, SP> where
    <PP as PoolParams>::Authorized: RefUnwindSafe,
    <SP as StratumParams>::Notify: RefUnwindSafe

impl<PP, SP> Send for PoolParam<PP, SP> where
    <PP as PoolParams>::Authorized: Send,
    <SP as StratumParams>::Notify: Send

impl<PP, SP> Sync for PoolParam<PP, SP> where
    <PP as PoolParams>::Authorized: Sync,
    <SP as StratumParams>::Notify: Sync

impl<PP, SP> Unpin for PoolParam<PP, SP> where
    <PP as PoolParams>::Authorized: Unpin,
    <SP as StratumParams>::Notify: Unpin

impl<PP, SP> UnwindSafe for PoolParam<PP, SP> where
    <PP as PoolParams>::Authorized: UnwindSafe,
    <SP as StratumParams>::Notify: 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.