pub struct OtaConfig {
pub dir: Option<PathBuf>,
}Expand description
Device firmware upgrades.
Fields§
§dir: Option<PathBuf>A directory of OTA image files; <data.dir>/ota when unset. Images
are offered only when an ota_update request asks for one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OtaConfig
impl<'de> Deserialize<'de> for OtaConfig
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
Auto Trait Implementations§
impl Freeze for OtaConfig
impl RefUnwindSafe for OtaConfig
impl Send for OtaConfig
impl Sync for OtaConfig
impl Unpin for OtaConfig
impl UnsafeUnpin for OtaConfig
impl UnwindSafe for OtaConfig
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