Type Alias faucetd::ChallengeMap
source · pub(crate) type ChallengeMap = Arc<Mutex<HashMap<[u8; 32], (BigUint, u64)>>>;
Aliased Type§
struct ChallengeMap {
ptr: NonNull<ArcInner<Mutex<HashMap<[u8; 32], (BigUint, u64), RandomState>>>>,
phantom: PhantomData<ArcInner<Mutex<HashMap<[u8; 32], (BigUint, u64), RandomState>>>>,
alloc: Global,
}
Fields§
§ptr: NonNull<ArcInner<Mutex<HashMap<[u8; 32], (BigUint, u64), RandomState>>>>
§phantom: PhantomData<ArcInner<Mutex<HashMap<[u8; 32], (BigUint, u64), RandomState>>>>
§alloc: Global
Trait Implementations§
1.52.0 · source§impl<T> Error for Arc<T, Global>where
T: Error + ?Sized,
impl<T> Error for Arc<T, Global>where T: Error + ?Sized,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting