#[non_exhaustive]pub enum Why {
Declined,
Current,
Newer(Version),
NotPlanned,
}Expand description
Why nothing is done.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Declined
The user declined this target.
Current
The installed copy is this version.
Newer(Version)
The installed copy is newer than the running program, which never downgrades it.
NotPlanned
The place is not a planned target and holds nothing of this program.
Trait Implementations§
impl Eq for Why
impl StructuralPartialEq for Why
Auto Trait Implementations§
impl Freeze for Why
impl RefUnwindSafe for Why
impl Send for Why
impl Sync for Why
impl Unpin for Why
impl UnsafeUnpin for Why
impl UnwindSafe for Why
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