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
Zlib-compressed data, originally 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 duplicate 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§impl Serialize for TransferEncoding
impl Serialize for TransferEncoding
impl Copy for TransferEncoding
impl Eq for TransferEncoding
impl StructuralPartialEq for TransferEncoding
Auto Trait Implementations§
impl Freeze for TransferEncoding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.