Enum qapi_spec::ResponseEvent [] [src]

pub enum ResponseEvent<C, E> {
    Err(Error),
    Event(E),
    Ok {
        return_: C,
    },
}

Variants

Fields of Ok

Trait Implementations

impl<C: Debug, E: Debug> Debug for ResponseEvent<C, E>
[src]

[src]

Formats the value using the given formatter. Read more

impl<C: Clone, E: Clone> Clone for ResponseEvent<C, E>
[src]

[src]

Returns a copy of the value. Read more

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

impl<C, E> Sync for ResponseEvent<C, E> where
    C: Sync,
    E: Sync