pub enum CommandWrapperKind {
NixShell {
path: Option<PathBuf>,
},
}Expand description
Serializable description of a command wrapper.
This enum can be stored in pipeline.json so that CI backends can
reconstruct the appropriate wrapper at runtime. It is also used
directly by FloweyShell and FloweyCmd to transform commands.
Variants§
NixShell
Wrap commands with nix-shell --pure --run "...".
Trait Implementations§
Source§impl Clone for CommandWrapperKind
impl Clone for CommandWrapperKind
Source§fn clone(&self) -> CommandWrapperKind
fn clone(&self) -> CommandWrapperKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandWrapperKind
impl Debug for CommandWrapperKind
Source§impl<'de> Deserialize<'de> for CommandWrapperKind
impl<'de> Deserialize<'de> for CommandWrapperKind
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 CommandWrapperKind
impl RefUnwindSafe for CommandWrapperKind
impl Send for CommandWrapperKind
impl Sync for CommandWrapperKind
impl Unpin for CommandWrapperKind
impl UnwindSafe for CommandWrapperKind
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