Struct qapi::Qga [−][src]
pub struct Qga<S> { /* fields omitted */ }
Methods
impl<S: Read + Write + Clone> Qga<Stream<BufReader<S>, S>>
[src]
impl<S: Read + Write + Clone> Qga<Stream<BufReader<S>, S>>
pub fn from_stream(s: S) -> Self
[src]
pub fn from_stream(s: S) -> Self
impl<S> Qga<S>
[src]
impl<S> Qga<S>
pub fn new(stream: S) -> Self
[src]
pub fn new(stream: S) -> Self
pub fn into_inner(self) -> S
[src]
pub fn into_inner(self) -> S
ⓘImportant traits for &'a mut Rpub fn inner(&self) -> &S
[src]
ⓘImportant traits for &'a mut R
pub fn inner(&self) -> &S
ⓘImportant traits for &'a mut Rpub fn inner_mut(&mut self) -> &mut S
[src]
ⓘImportant traits for &'a mut R
pub fn inner_mut(&mut self) -> &mut S
impl<S: BufRead> Qga<S>
[src]
impl<S: BufRead> Qga<S>
impl<S: BufRead + Write> Qga<S>
[src]
impl<S: BufRead + Write> Qga<S>
pub fn write_command<C: Command>(&mut self, command: &C) -> Result<()>
[src]
pub fn write_command<C: Command>(&mut self, command: &C) -> Result<()>
pub fn execute<C: Command>(
&mut self,
command: &C
) -> Result<Result<C::Ok, Error>>
[src]
pub fn execute<C: Command>(
&mut self,
command: &C
) -> Result<Result<C::Ok, Error>>
pub fn handshake(&mut self) -> Result<()>
[src]
pub fn handshake(&mut self) -> Result<()>