pub struct Index { /* private fields */ }Expand description
Reads Guix’s repo
Implementations§
Source§impl Index
impl Index
Sourcepub fn new(local_temp_dir: impl AsRef<Path>) -> Result<Self, Error>
pub fn new(local_temp_dir: impl AsRef<Path>) -> Result<Self, Error>
Specify path where to place repo checkout (e.g. "/var/tmp")
This will clone the repo on first use. It may take a while!
Auto Trait Implementations§
impl !Freeze for Index
impl !RefUnwindSafe for Index
impl !Send for Index
impl !Sync for Index
impl Unpin for Index
impl !UnwindSafe for Index
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