Enum probe_rs::flashing::Format [−][src]
pub enum Format { Bin(BinOptions), Hex, Elf, }
Expand description
A finite list of all the available binary formats probe-rs understands.
Variants
Bin(BinOptions)
Marks a file in binary format. This means that the file contains the contents of the flash 1:1. BinOptions can be used to define the location in flash where the file contents should be put at. Additionally using the same config struct, you can skip the first N bytes of the binary file to have them not put into the flash.
Marks a file in Intel HEX format.
Marks a file in the ELF format.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more