embassy-usb-dfu

Crates

git

Versions

application

Flavors

Skip to main content

Reset

Trait Reset 

Source
pub trait Reset {
    // Required method
    fn reset(&self);
}
Expand description

Provides a platform-agnostic interface for initiating a system reset.

Implement it for your platform and pass it to new_state.

Required Methods§

Source

fn reset(&self)

Reset the device.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§