[][src]Struct stratum_types::PoolRequest

pub struct PoolRequest<SP: StratumPackets> {
    pub id: String,
    pub method: StratumMethod,
    pub params: PoolParams<SP>,
}

Fields

id: Stringmethod: StratumMethodparams: PoolParams<SP>

Trait Implementations

impl<'de, SP: StratumPackets> Deserialize<'de> for PoolRequest<SP> where
    SP: Deserialize<'de>, 
[src]

impl<SP: StratumPackets> Serialize for PoolRequest<SP> where
    SP: Serialize
[src]

Auto Trait Implementations

impl<SP> RefUnwindSafe for PoolRequest<SP> where
    <SP as StratumPackets>::Notify: RefUnwindSafe,
    <SP as StratumPackets>::SetDifficulty: RefUnwindSafe,
    <SP as StratumPackets>::SetExtraNonce: RefUnwindSafe,
    <SP as StratumPackets>::SetGoal: RefUnwindSafe

impl<SP> Send for PoolRequest<SP> where
    <SP as StratumPackets>::Notify: Send,
    <SP as StratumPackets>::SetDifficulty: Send,
    <SP as StratumPackets>::SetExtraNonce: Send,
    <SP as StratumPackets>::SetGoal: Send

impl<SP> Sync for PoolRequest<SP> where
    <SP as StratumPackets>::Notify: Sync,
    <SP as StratumPackets>::SetDifficulty: Sync,
    <SP as StratumPackets>::SetExtraNonce: Sync,
    <SP as StratumPackets>::SetGoal: Sync

impl<SP> Unpin for PoolRequest<SP> where
    <SP as StratumPackets>::Notify: Unpin,
    <SP as StratumPackets>::SetDifficulty: Unpin,
    <SP as StratumPackets>::SetExtraNonce: Unpin,
    <SP as StratumPackets>::SetGoal: Unpin

impl<SP> UnwindSafe for PoolRequest<SP> where
    <SP as StratumPackets>::Notify: UnwindSafe,
    <SP as StratumPackets>::SetDifficulty: UnwindSafe,
    <SP as StratumPackets>::SetExtraNonce: UnwindSafe,
    <SP as StratumPackets>::SetGoal: 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.