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.
Hex
Marks a file in Intel HEX format.
Elf
Marks a file in the ELF format.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Format
impl<'de> Deserialize<'de> for Format
sourcefn 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
impl StructuralPartialEq for Format
Auto Trait Implementations
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more