pub struct EnvVarHook { /* private fields */ }Trait Implementations§
Source§impl Debug for EnvVarHook
impl Debug for EnvVarHook
Source§impl<P> Hook<P> for EnvVarHookwhere
P: PhaseMarker,
impl<P> Hook<P> for EnvVarHookwhere
P: PhaseMarker,
Source§const ID: &'static str = "capture-env"
const ID: &'static str = "capture-env"
The unique identifier for this hook type (e.g., “capture-cwd”, “notify-slack”)
type Config = EnvVarHookConfig
type Output = EnvVarCaptured
Source§fn from_config(config: &Value, _project_root: &Path) -> CapsulaResult<Self>
fn from_config(config: &Value, _project_root: &Path) -> CapsulaResult<Self>
Create a hook instance from JSON configuration
fn config(&self) -> &Self::Config
fn run( &self, _metadata: &PreparedRun, _params: &RuntimeParams<P>, ) -> CapsulaResult<Self::Output>
Source§fn needs_artifact_dir(&self) -> bool
fn needs_artifact_dir(&self) -> bool
Whether this hook needs a dedicated artifact directory. Read more
Auto Trait Implementations§
impl Freeze for EnvVarHook
impl RefUnwindSafe for EnvVarHook
impl Send for EnvVarHook
impl Sync for EnvVarHook
impl Unpin for EnvVarHook
impl UnsafeUnpin for EnvVarHook
impl UnwindSafe for EnvVarHook
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