pub enum LaunchFragment {
Text(String),
One(Val),
Many(Valset),
}Expand description
One named launch fragment a plugin exposes — jvmArgs (a Valset),
mainClass (a Val), bin (a bare string). A config names one on its
launch line as @plugin.group, and crate::assemble puts it there.
Untagged on the wire, and the order matters: a bare string is matched
before One, whose own bare-string form would otherwise swallow it.
Variants§
Trait Implementations§
Source§impl Clone for LaunchFragment
impl Clone for LaunchFragment
Source§impl Debug for LaunchFragment
impl Debug for LaunchFragment
Source§impl<'de> Deserialize<'de> for LaunchFragment
impl<'de> Deserialize<'de> for LaunchFragment
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 LaunchFragment
Source§impl PartialEq for LaunchFragment
impl PartialEq for LaunchFragment
Source§impl Serialize for LaunchFragment
impl Serialize for LaunchFragment
impl StructuralPartialEq for LaunchFragment
Auto Trait Implementations§
impl Forget for LaunchFragment
impl Freeze for LaunchFragment
impl Move for LaunchFragment
impl RefUnwindSafe for LaunchFragment
impl Send for LaunchFragment
impl Sync for LaunchFragment
impl Unpin for LaunchFragment
impl UnsafeUnpin for LaunchFragment
impl UnwindSafe for LaunchFragment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.