Enum qapi_spec::ResponseEvent
[−]
[src]
pub enum ResponseEvent<C, E> { Err(Error), Event(E), Ok { return_: C, }, }
Variants
Err(Error)
Event(E)
Ok
Fields of Ok
return_: C |
Trait Implementations
impl<C: Debug, E: Debug> Debug for ResponseEvent<C, E>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<C: Clone, E: Clone> Clone for ResponseEvent<C, E>
[src]
fn clone(&self) -> ResponseEvent<C, E>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<C, E> Send for ResponseEvent<C, E> where
C: Send,
E: Send,
C: Send,
E: Send,
impl<C, E> Sync for ResponseEvent<C, E> where
C: Sync,
E: Sync,
C: Sync,
E: Sync,