[−][src]Trait stratum_types::traits::AuthManager
Associated Types
type Authorize: Authorize
type AuthorizeResult: AuthorizeResult
type Subscribe: Subscribe
type SubscribeResult: SubscribeResult
Required methods
fn authorize<'life0, 'life1, 'async_trait>(
&'life0 self,
info: MinerInfo,
auth: &'life1 Self::Authorize,
classic: bool
) -> Pin<Box<dyn Future<Output = Result<Self::AuthorizeResult, StratumError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
info: MinerInfo,
auth: &'life1 Self::Authorize,
classic: bool
) -> Pin<Box<dyn Future<Output = Result<Self::AuthorizeResult, StratumError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn subscribe<'life0, 'life1, 'async_trait>(
&'life0 self,
info: MinerInfo,
subscribe_info: &'life1 Self::Subscribe,
classic: bool
) -> Pin<Box<dyn Future<Output = Result<Self::SubscribeResult, StratumError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
info: MinerInfo,
subscribe_info: &'life1 Self::Subscribe,
classic: bool
) -> Pin<Box<dyn Future<Output = Result<Self::SubscribeResult, StratumError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,