pub struct CommandEffects {
pub observation_only: bool,
pub deletes: bool,
pub local_work_only: bool,
pub delete_targets: Option<Vec<String>>,
}Fields§
§observation_only: boolEvery executable is a known observer used in a known observing shape.
deletes: boolSome command removes files (rm, find -delete, git clean, …),
including behind wrappers and groupings.
local_work_only: boolEvery command is ordinary local work: an exact LOCAL_WORK program
in an allowed shape, or an observation. Fail closed like
observation_only, except that output redirection into files and
newline-separated scripts are allowed.
delete_targets: Option<Vec<String>>The paths deleting commands name, as written. None when a delete
target cannot be read structurally (variables, substitutions, piped
arguments, git clean).
Trait Implementations§
Source§impl Clone for CommandEffects
impl Clone for CommandEffects
Source§impl Debug for CommandEffects
impl Debug for CommandEffects
impl Eq for CommandEffects
Source§impl PartialEq for CommandEffects
impl PartialEq for CommandEffects
impl StructuralPartialEq for CommandEffects
Auto Trait Implementations§
impl Forget for CommandEffects
impl Freeze for CommandEffects
impl Move for CommandEffects
impl RefUnwindSafe for CommandEffects
impl Send for CommandEffects
impl Sync for CommandEffects
impl Unpin for CommandEffects
impl UnsafeUnpin for CommandEffects
impl UnwindSafe for CommandEffects
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