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