Trait QemuRepo

Source
pub trait QemuRepo {
    type Error;

    // Required methods
    fn push_context<P: AsRef<Path>>(&mut self, p: P);
    fn pop_context(&mut self);
    fn context(&self) -> &Path;
    fn include<P: AsRef<Path>>(
        &mut self,
        p: P,
    ) -> Result<(QemuRepoContext<'_, Self>, String), Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn push_context<P: AsRef<Path>>(&mut self, p: P)

Source

fn pop_context(&mut self)

Source

fn context(&self) -> &Path

Source

fn include<P: AsRef<Path>>( &mut self, p: P, ) -> Result<(QemuRepoContext<'_, Self>, String), Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§