pub enum ContextSource {
Env,
Launch,
}Expand description
Where the Context came from. Diagnostics only.
Variants§
Env
Built from env vars by init / init_with_args.
Launch
Built from a launch file (path supplied to init_with_launch) or
auto-discovered via init_with_launch_auto. The launch XML itself
is NOT yet parsed (see module docs); the launcher’s projected env
is the source of truth for now.
Trait Implementations§
Source§impl Clone for ContextSource
impl Clone for ContextSource
Source§fn clone(&self) -> ContextSource
fn clone(&self) -> ContextSource
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 ContextSource
impl Debug for ContextSource
Source§impl PartialEq for ContextSource
impl PartialEq for ContextSource
impl Copy for ContextSource
impl Eq for ContextSource
impl StructuralPartialEq for ContextSource
Auto Trait Implementations§
impl Freeze for ContextSource
impl RefUnwindSafe for ContextSource
impl Send for ContextSource
impl Sync for ContextSource
impl Unpin for ContextSource
impl UnsafeUnpin for ContextSource
impl UnwindSafe for ContextSource
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