pub enum PuzzleMode {
Off,
LogOnly,
Enforce,
}Expand description
How a station treats a client’s node_id puzzle.
Variants§
Off
The puzzle is not checked.
LogOnly
An unsolved puzzle is accepted and reported.
Enforce
An unsolved puzzle is refused.
Trait Implementations§
Source§impl Clone for PuzzleMode
impl Clone for PuzzleMode
impl Copy for PuzzleMode
Source§impl Debug for PuzzleMode
impl Debug for PuzzleMode
impl Eq for PuzzleMode
Source§impl PartialEq for PuzzleMode
impl PartialEq for PuzzleMode
impl StructuralPartialEq for PuzzleMode
Auto Trait Implementations§
impl Freeze for PuzzleMode
impl RefUnwindSafe for PuzzleMode
impl Send for PuzzleMode
impl Sync for PuzzleMode
impl Unpin for PuzzleMode
impl UnsafeUnpin for PuzzleMode
impl UnwindSafe for PuzzleMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more