pub struct RuntimeParams<P: PhaseMarker> {
pub artifact_dir: Option<PathBuf>,
/* private fields */
}Fields§
§artifact_dir: Option<PathBuf>Per-hook artifact directory, created by the orchestrator when the hook
requests one via Hook::needs_artifact_dir.
Implementations§
Source§impl<P: PhaseMarker> RuntimeParams<P>
impl<P: PhaseMarker> RuntimeParams<P>
Sourcepub const fn with_artifact_dir(artifact_dir: PathBuf) -> Self
pub const fn with_artifact_dir(artifact_dir: PathBuf) -> Self
Create RuntimeParams with an artifact directory set.
Trait Implementations§
Source§impl<P: Clone + PhaseMarker> Clone for RuntimeParams<P>
impl<P: Clone + PhaseMarker> Clone for RuntimeParams<P>
Source§fn clone(&self) -> RuntimeParams<P>
fn clone(&self) -> RuntimeParams<P>
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<P: Debug + PhaseMarker> Debug for RuntimeParams<P>
impl<P: Debug + PhaseMarker> Debug for RuntimeParams<P>
Source§impl<P: PhaseMarker> Default for RuntimeParams<P>
impl<P: PhaseMarker> Default for RuntimeParams<P>
Auto Trait Implementations§
impl<P> Freeze for RuntimeParams<P>
impl<P> RefUnwindSafe for RuntimeParams<P>where
P: RefUnwindSafe,
impl<P> Send for RuntimeParams<P>where
P: Send,
impl<P> Sync for RuntimeParams<P>where
P: Sync,
impl<P> Unpin for RuntimeParams<P>where
P: Unpin,
impl<P> UnsafeUnpin for RuntimeParams<P>
impl<P> UnwindSafe for RuntimeParams<P>where
P: UnwindSafe,
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