pub enum PlanKind {
NativeInPlace {
download_url: String,
checksum_url: Option<String>,
expected_checksum: Option<String>,
},
DelegateCommand {
channel: Channel,
command: Vec<String>,
mode: DelegateMode,
},
ManualInstall {
reason: String,
instructions: String,
download_url: Option<String>,
},
}Expand description
The strategy for applying an update.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanKind
impl<'de> Deserialize<'de> for PlanKind
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 PlanKind
impl RefUnwindSafe for PlanKind
impl Send for PlanKind
impl Sync for PlanKind
impl Unpin for PlanKind
impl UnsafeUnpin for PlanKind
impl UnwindSafe for PlanKind
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