[][src]Struct stratum_client::client::ClientConfig

pub struct ClientConfig<SP, PP> where
    SP: StratumParams,
    PP: PoolParams
{ pub host: String, pub credentials: PP::Authorize, pub subscriber_info: SP::Subscribe, }

Fields

host: Stringcredentials: PP::Authorizesubscriber_info: SP::Subscribe

Trait Implementations

impl<SP: Clone, PP: Clone> Clone for ClientConfig<SP, PP> where
    SP: StratumParams,
    PP: PoolParams,
    PP::Authorize: Clone,
    SP::Subscribe: Clone
[src]

impl<SP: Debug, PP: Debug> Debug for ClientConfig<SP, PP> where
    SP: StratumParams,
    PP: PoolParams,
    PP::Authorize: Debug,
    SP::Subscribe: Debug
[src]

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

Auto Trait Implementations

impl<SP, PP> RefUnwindSafe for ClientConfig<SP, PP> where
    <PP as PoolParams>::Authorize: RefUnwindSafe,
    <SP as StratumParams>::Subscribe: RefUnwindSafe

impl<SP, PP> Send for ClientConfig<SP, PP> where
    <PP as PoolParams>::Authorize: Send,
    <SP as StratumParams>::Subscribe: Send

impl<SP, PP> Sync for ClientConfig<SP, PP> where
    <PP as PoolParams>::Authorize: Sync,
    <SP as StratumParams>::Subscribe: Sync

impl<SP, PP> Unpin for ClientConfig<SP, PP> where
    <PP as PoolParams>::Authorize: Unpin,
    <SP as StratumParams>::Subscribe: Unpin

impl<SP, PP> UnwindSafe for ClientConfig<SP, PP> where
    <PP as PoolParams>::Authorize: UnwindSafe,
    <SP as StratumParams>::Subscribe: 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.