pub struct RunOnceOptions {
pub no_hook: bool,
pub initial_trigger: Option<Vec<PathBuf>>,
}Expand description
Options for a one-shot App::run_once invocation.
Fields§
§no_hook: boolSkip the configured [on_failure] hook even if enabled.
initial_trigger: Option<Vec<PathBuf>>Initial trigger paths (relative to App.root). When Some, the
pipeline filters steps by if_changed and substitutes {files}
exactly as watch-mode does on a file-change. None runs every step.
Trait Implementations§
Source§impl Clone for RunOnceOptions
impl Clone for RunOnceOptions
Source§fn clone(&self) -> RunOnceOptions
fn clone(&self) -> RunOnceOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunOnceOptions
impl Debug for RunOnceOptions
Source§impl Default for RunOnceOptions
impl Default for RunOnceOptions
Source§fn default() -> RunOnceOptions
fn default() -> RunOnceOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RunOnceOptions
impl RefUnwindSafe for RunOnceOptions
impl Send for RunOnceOptions
impl Sync for RunOnceOptions
impl Unpin for RunOnceOptions
impl UnsafeUnpin for RunOnceOptions
impl UnwindSafe for RunOnceOptions
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