Trait qapi_parser::QemuRepo [−][src]
pub trait QemuRepo { type Error; 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>; }
Associated Types
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>
&mut self,
p: P
) -> Result<(QemuRepoContext<Self>, String), Self::Error>
Implementors
impl QemuRepo for QemuFileRepo type Error = Error;