pub struct GetCompilers {
pub spack: SpackInvocation,
pub scope: Option<String>,
}
Expand description
Request to execute spack config get compilers
and parse the YAML output.
Fields§
§spack: SpackInvocation
§scope: Option<String>
The scope to request the config be drawn from.
Implementations§
Source§impl GetCompilers
impl GetCompilers
Sourcepub async fn get_compilers(self) -> Result<Vec<CompilerSpec>, ConfigError>
pub async fn get_compilers(self) -> Result<Vec<CompilerSpec>, ConfigError>
Execute spack config get compilers
and parse the YAML output.
Trait Implementations§
Source§impl Clone for GetCompilers
impl Clone for GetCompilers
Source§fn clone(&self) -> GetCompilers
fn clone(&self) -> GetCompilers
Returns a copy 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 ConfigCommand for GetCompilers
impl ConfigCommand for GetCompilers
fn into_base_config(self) -> Config
Auto Trait Implementations§
impl Freeze for GetCompilers
impl RefUnwindSafe for GetCompilers
impl Send for GetCompilers
impl Sync for GetCompilers
impl Unpin for GetCompilers
impl UnwindSafe for GetCompilers
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<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> 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