pub enum ConfigDirSource {
CliFlag,
EnvVar,
WalkUp,
Default,
}Expand description
Identifies how the context directory was resolved.
Variants§
CliFlag
Explicitly set via --context-dir CLI flag.
EnvVar
Set via OMNI_DEV_CONFIG_DIR environment variable.
WalkUp
Found via walk-up discovery from CWD.
Default
Default .omni-dev (no explicit override, no walk-up match).
Trait Implementations§
Source§impl Clone for ConfigDirSource
impl Clone for ConfigDirSource
Source§fn clone(&self) -> ConfigDirSource
fn clone(&self) -> ConfigDirSource
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 Debug for ConfigDirSource
impl Debug for ConfigDirSource
Source§impl Display for ConfigDirSource
impl Display for ConfigDirSource
Source§impl PartialEq for ConfigDirSource
impl PartialEq for ConfigDirSource
impl Eq for ConfigDirSource
impl StructuralPartialEq for ConfigDirSource
Auto Trait Implementations§
impl Freeze for ConfigDirSource
impl RefUnwindSafe for ConfigDirSource
impl Send for ConfigDirSource
impl Sync for ConfigDirSource
impl Unpin for ConfigDirSource
impl UnsafeUnpin for ConfigDirSource
impl UnwindSafe for ConfigDirSource
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
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
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.