[][src]Trait stratum_types::traits::Authorize

pub trait Authorize: DeserializeOwned + Serialize + Sync + Send + Clone + Debug {
    fn username(&self) -> String;
fn client(&self) -> String;
fn worker_name(&self) -> Option<String>; }

Required methods

fn username(&self) -> String

fn client(&self) -> String

fn worker_name(&self) -> Option<String>

Loading content...

Implementors

Loading content...