Poll example

This commit is contained in:
Zachary Sunforge
2023-06-25 17:33:03 -07:00
parent 359b75cba8
commit abfa21ff01
3 changed files with 28 additions and 3 deletions

View File

@ -5,7 +5,7 @@
///
/// In many systems there can be a single function for handling any critical error as a critical
/// error always means everything needs to be stopped.
#[derive(Copy, Clone, Eq, PartialEq)]
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub enum CriticalError {
/// Critical communication failed and retries are either impossible or also failed.
Communication,