Struct BlobInfo
pub struct BlobInfo {
pub partition: Partition,
pub fota_type: FotaType,
pub image: String,
pub image_type: ImageType,
pub new_size: u32,
pub new_md5: [u8; 16],
rate: u32,
pub old_size: Option<u32>,
pub old_md5: Option<[u8; 16]>,
pub patch: Option<String>,
sync: bool,
}Fields§
§partition: Partition§fota_type: FotaType§image: String§image_type: ImageType§new_size: u32§new_md5: [u8; 16]§rate: u32§old_size: Option<u32>§old_md5: Option<[u8; 16]>§patch: Option<String>§sync: boolImplementations§
§impl BlobInfo
impl BlobInfo
pub const fn should_sync(&self) -> bool
Trait Implementations§
§impl<'de> Deserialize<'de> for BlobInfo
impl<'de> Deserialize<'de> for BlobInfo
§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 Freeze for BlobInfo
impl RefUnwindSafe for BlobInfo
impl Send for BlobInfo
impl Sync for BlobInfo
impl Unpin for BlobInfo
impl UnwindSafe for BlobInfo
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