pub enum AutoUpdateStatus {
Updated {
old_version: String,
new_version: String,
},
UpToDate,
NoSource,
Failed(String),
}Expand description
Status of an individual auto-update attempt.
Variants§
Updated
Plugin was successfully updated.
UpToDate
Remote archive SHA-256 matches the installed copy — no action taken.
NoSource
Plugin has no persisted source URL (installed from a local path).
Failed(String)
Update failed; plugin remains at its current version.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoUpdateStatus
impl RefUnwindSafe for AutoUpdateStatus
impl Send for AutoUpdateStatus
impl Sync for AutoUpdateStatus
impl Unpin for AutoUpdateStatus
impl UnsafeUnpin for AutoUpdateStatus
impl UnwindSafe for AutoUpdateStatus
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