[−][src]Struct stratum_types::PoolRequest
Fields
id: String
method: StratumMethod
params: PoolParams<SP>
Trait Implementations
impl<'de, SP: StratumPackets> Deserialize<'de> for PoolRequest<SP> where
SP: Deserialize<'de>,
[src]
SP: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<SP: StratumPackets> Serialize for PoolRequest<SP> where
SP: Serialize,
[src]
SP: Serialize,
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,
<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,
<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,
<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,
<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,
<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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,