pub fn as_reset(&self) -> Option<&str> {
        match self {
            DevAction::Reset { reason } => Some(reason),
            _ => None,
        }
    }
/// Attempts to convert to a `Reset` and returns the reason.
Attempts to convert to a `Reset` and returns the reason.
Attempts to convert to a ` Reset ` and returns the reason .
pub fn as_reset(&self) -> Option<&str> {
        match self {
            DevAction::Reset { reason } => Some(reason),
            _ => None,
        }
    }
pub fn as_reset ( & self ) -> Option < & str > { match self { DevAction :: Reset { reason } => Some ( reason ) , _ => None , } }
Attempts to convert to a `Reset` and returns the reason.
Attempts to convert to a ` Reset ` and returns the reason .
&self
&self