pub struct WatchdogDecl {
pub name: String,
pub timeout_ms: u32,
pub priority: TaskPriority,
pub span: Span,
}Expand description
Hardware Watchdog Timer declaration: watchdog wdt0 = Watchdog(100ms, CRITICAL);
Fields§
§name: String§timeout_ms: u32§priority: TaskPriority§span: SpanTrait Implementations§
Source§impl Clone for WatchdogDecl
impl Clone for WatchdogDecl
Source§impl Debug for WatchdogDecl
impl Debug for WatchdogDecl
Source§impl<'de> Deserialize<'de> for WatchdogDecl
impl<'de> Deserialize<'de> for WatchdogDecl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WatchdogDecl
impl PartialEq for WatchdogDecl
Source§impl Serialize for WatchdogDecl
impl Serialize for WatchdogDecl
impl StructuralPartialEq for WatchdogDecl
Auto Trait Implementations§
impl Freeze for WatchdogDecl
impl RefUnwindSafe for WatchdogDecl
impl Send for WatchdogDecl
impl Sync for WatchdogDecl
impl Unpin for WatchdogDecl
impl UnsafeUnpin for WatchdogDecl
impl UnwindSafe for WatchdogDecl
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