Struct spack::commands::config::GetCompilers
source · 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 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