[−][src]Struct stratum_types::Request
Fields
id: ID
method: StratumMethod
params: Params<PP, SP>
Trait Implementations
impl<'de, PP, SP> Deserialize<'de> for Request<PP, SP> where
PP: PoolParams + Deserialize<'de>,
SP: StratumParams + Deserialize<'de>,
[src]
PP: PoolParams + Deserialize<'de>,
SP: StratumParams + Deserialize<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<PP, SP> Serialize for Request<PP, SP> where
PP: PoolParams,
SP: StratumParams,
PP: Serialize,
SP: Serialize,
[src]
PP: PoolParams,
SP: StratumParams,
PP: Serialize,
SP: Serialize,
Auto Trait Implementations
impl<PP, SP> RefUnwindSafe for Request<PP, SP> where
<PP as PoolParams>::Authorize: RefUnwindSafe,
<SP as StratumParams>::Notify: RefUnwindSafe,
<SP as StratumParams>::Submit: RefUnwindSafe,
<PP as PoolParams>::Subscribe: RefUnwindSafe,
<PP as PoolParams>::Authorize: RefUnwindSafe,
<SP as StratumParams>::Notify: RefUnwindSafe,
<SP as StratumParams>::Submit: RefUnwindSafe,
<PP as PoolParams>::Subscribe: RefUnwindSafe,
impl<PP, SP> Send for Request<PP, SP> where
<PP as PoolParams>::Authorize: Send,
<SP as StratumParams>::Notify: Send,
<SP as StratumParams>::Submit: Send,
<PP as PoolParams>::Subscribe: Send,
<PP as PoolParams>::Authorize: Send,
<SP as StratumParams>::Notify: Send,
<SP as StratumParams>::Submit: Send,
<PP as PoolParams>::Subscribe: Send,
impl<PP, SP> Sync for Request<PP, SP> where
<PP as PoolParams>::Authorize: Sync,
<SP as StratumParams>::Notify: Sync,
<SP as StratumParams>::Submit: Sync,
<PP as PoolParams>::Subscribe: Sync,
<PP as PoolParams>::Authorize: Sync,
<SP as StratumParams>::Notify: Sync,
<SP as StratumParams>::Submit: Sync,
<PP as PoolParams>::Subscribe: Sync,
impl<PP, SP> Unpin for Request<PP, SP> where
<PP as PoolParams>::Authorize: Unpin,
<SP as StratumParams>::Notify: Unpin,
<SP as StratumParams>::Submit: Unpin,
<PP as PoolParams>::Subscribe: Unpin,
<PP as PoolParams>::Authorize: Unpin,
<SP as StratumParams>::Notify: Unpin,
<SP as StratumParams>::Submit: Unpin,
<PP as PoolParams>::Subscribe: Unpin,
impl<PP, SP> UnwindSafe for Request<PP, SP> where
<PP as PoolParams>::Authorize: UnwindSafe,
<SP as StratumParams>::Notify: UnwindSafe,
<SP as StratumParams>::Submit: UnwindSafe,
<PP as PoolParams>::Subscribe: UnwindSafe,
<PP as PoolParams>::Authorize: UnwindSafe,
<SP as StratumParams>::Notify: UnwindSafe,
<SP as StratumParams>::Submit: UnwindSafe,
<PP as PoolParams>::Subscribe: 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,