pub enum ProviderCommand {
Validate,
Inspect,
Test {
action: String,
json: Value,
},
List {
dir: Option<PathBuf>,
json: bool,
},
Lint {
dir: Option<PathBuf>,
json: bool,
},
Status {
dir: Option<PathBuf>,
json: bool,
},
}Variants§
Validate
Inspect
Test
List
Non-executing: lists drop-in provider files without loading the registry.
Lint
Non-executing: lints drop-in provider files without loading the registry.
Status
Non-executing: summarizes drop-in provider files without loading the registry.
Implementations§
Source§impl ProviderCommand
impl ProviderCommand
Sourcepub fn is_non_executing(&self) -> bool
pub fn is_non_executing(&self) -> bool
The three non-executing variants never touch the live registry — they
only parse manifests on disk, so run() short-circuits before any
client/service/registry construction for these.
Trait Implementations§
Source§impl Debug for ProviderCommand
impl Debug for ProviderCommand
Source§impl PartialEq for ProviderCommand
impl PartialEq for ProviderCommand
Source§fn eq(&self, other: &ProviderCommand) -> bool
fn eq(&self, other: &ProviderCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProviderCommand
impl StructuralPartialEq for ProviderCommand
Auto Trait Implementations§
impl Freeze for ProviderCommand
impl RefUnwindSafe for ProviderCommand
impl Send for ProviderCommand
impl Sync for ProviderCommand
impl Unpin for ProviderCommand
impl UnsafeUnpin for ProviderCommand
impl UnwindSafe for ProviderCommand
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more