[][src]Enum stratum_types::PoolPacket

pub enum PoolPacket<PP, SP> where
    PP: PoolParams,
    SP: StratumParams
{ Request(PoolRequest<PP, SP>), Response(PoolResponse<PP, SP>), }

Variants

Request(PoolRequest<PP, SP>)
Response(PoolResponse<PP, SP>)

Trait Implementations

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

impl<PP, SP> Serialize for PoolPacket<PP, SP> where
    PP: PoolParams,
    SP: StratumParams,
    PP: Serialize,
    SP: Serialize
[src]

Auto Trait Implementations

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

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

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

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

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