pub enum ArgStatus {
Honoured,
Inert,
Refused(Option<bool>),
}Expand description
What one module does with one of its arguments.
A module being in NATIVE_MODULES says it runs; it says nothing about the rest of its API,
and an argument accepted and then dropped reports success having done something other than
what the playbook asked for. The status is per argument so that neither answer is a guess.
Variants§
Honoured
Read, and the value decides what runs.
It says the argument is read, not that it is coerced the way the reference coerces it.
chdir, creates and removes are type='path' there, which expands ~ and $VAR
before the value is used, and this release takes the value as it is written.
Inert
The reference accepts the name on this module and acts on it nowhere, which is what this
release does with it too - executable on command, where no shell runs for it to
select. Nothing to promise and nothing to refuse, so it is out of the generated page.
Refused(Option<bool>)
The reference has it and this release does not do what it asks for. Named by the pre-flight, before the first connection, rather than accepted and forgotten.
The value carried is the one that is refused, the way check_mode is refused for true
and runs for false: the other value asks for what this release already does, and
refusing that would stop a playbook the two engines agreed on. None refuses the name
whatever the value says.
Trait Implementations§
impl Copy for ArgStatus
impl Eq for ArgStatus
impl StructuralPartialEq for ArgStatus
Auto Trait Implementations§
impl Freeze for ArgStatus
impl RefUnwindSafe for ArgStatus
impl Send for ArgStatus
impl Sync for ArgStatus
impl Unpin for ArgStatus
impl UnsafeUnpin for ArgStatus
impl UnwindSafe for ArgStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.