pub enum PinState {
Exact,
Floating,
Unknown,
}Expand description
How exactly the launch spec names the agent’s version.
Variants§
Exact
One exact version (pkg@1.2.3).
Floating
Whatever the launcher resolves (@latest, or no version).
Unknown
A program found on this machine; the city ran nothing, so it does not know which version.
Trait Implementations§
impl Copy for PinState
Source§impl<'de> Deserialize<'de> for PinState
impl<'de> Deserialize<'de> for PinState
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
impl Eq for PinState
impl StructuralPartialEq for PinState
Auto Trait Implementations§
impl Freeze for PinState
impl RefUnwindSafe for PinState
impl Send for PinState
impl Sync for PinState
impl Unpin for PinState
impl UnsafeUnpin for PinState
impl UnwindSafe for PinState
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