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

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

Fields

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

Trait Implementations

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

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

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

Auto Trait Implementations

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

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

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,