[][src]Trait stratum_types::traits::AuthorizeResult

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>; }

Required methods

fn authorized(&self) -> bool

fn id(&self) -> String

fn worker_id(&self) -> Option<Uuid>

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

Loading content...

Implementors

Loading content...