pub struct Provider {
pub release: Version,
pub sysroot: PathBuf,
pub stubs: PathBuf,
pub gcc_startup: PathBuf,
pub compiler_runtime: PathBuf,
pub descriptor: String,
}Fields§
§release: Version§sysroot: PathBuf§stubs: PathBuf§gcc_startup: PathBuf§compiler_runtime: PathBuf§descriptor: StringImplementations§
Source§impl Provider
impl Provider
pub fn load(path: &Path) -> Result<Self, String>
pub fn parse(text: &str) -> Result<Self, String>
Static archives linked into every executable, relative to the sysroot. glibc 2.28 merged libpthread_nonshared.a into libc_nonshared.a.
pub fn validate_selection(&self, requested: Version) -> Result<(), String>
pub fn validate_files(&self) -> Result<(), String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
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