pub enum TransferEncoding {
Raw,
Miniz,
}
Expand description
Data encoding used by the flash algorithm.
Variants§
Raw
Raw binary encoding. Probe-rs will not apply any transformation to the flash data.
Miniz
Flash data is compressed using the miniz_oxide
crate.
Compressed images are written in page sized chunks, each chunk written to the image’s start address. The length of the compressed image is stored in the first 4 bytes of the first chunk of the image.
Trait Implementations§
source§impl Clone for TransferEncoding
impl Clone for TransferEncoding
source§fn clone(&self) -> TransferEncoding
fn clone(&self) -> TransferEncoding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransferEncoding
impl Debug for TransferEncoding
source§impl Default for TransferEncoding
impl Default for TransferEncoding
source§fn default() -> TransferEncoding
fn default() -> TransferEncoding
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransferEncoding
impl<'de> Deserialize<'de> for TransferEncoding
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 Hash for TransferEncoding
impl Hash for TransferEncoding
source§impl PartialEq for TransferEncoding
impl PartialEq for TransferEncoding
source§fn eq(&self, other: &TransferEncoding) -> bool
fn eq(&self, other: &TransferEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransferEncoding
impl Serialize for TransferEncoding
impl Copy for TransferEncoding
impl Eq for TransferEncoding
impl StructuralPartialEq for TransferEncoding
Auto Trait Implementations§
impl RefUnwindSafe for TransferEncoding
impl Send for TransferEncoding
impl Sync for TransferEncoding
impl Unpin for TransferEncoding
impl UnwindSafe for TransferEncoding
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