tor_hscrypto/pow/v1_stub.rs
1//! Stub; `v1` proof of work scheme has been disabled at compile time
2
3use void::Void;
4
5/// Stub for the runtime error type when `v1` is disabled
6#[derive(Debug, Clone, derive_more::Display, derive_more::Error)]
7pub struct RuntimeErrorV1(Void);
8
9/// Stub for the solution error type when `v1` is disabled
10#[derive(Debug, Clone, derive_more::Display, derive_more::Error)]
11pub struct SolutionErrorV1(Void);