Trait AuthorizeResult
stratum_types::traits
pub trait AuthorizeResult: DeserializeOwned + Serialize + Sync + Send + Clone + Debug { fn authorized(&self) -> bool; fn id(&self) -> String; fn worker_id(&self) -> Option<Uuid>; fn worker_name(&self) -> Option<String>; }
fn authorized(&self) -> bool
fn id(&self) -> String
fn worker_id(&self) -> Option<Uuid>
fn worker_name(&self) -> Option<String>