Enum qapi_spec::Response [] [src]

pub enum Response<C> {
    Err(Error),
    Ok {
        return_: C,
    },
}

Variants

Fields of Ok

Methods

impl<C> Response<C>
[src]

[src]

Trait Implementations

impl<C: Debug> Debug for Response<C>
[src]

[src]

Formats the value using the given formatter. Read more

impl<C: Clone> Clone for Response<C>
[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> Send for Response<C> where
    C: Send

impl<C> Sync for Response<C> where
    C: Sync