Struct varlink::Reply[][src]

pub struct Reply {
    pub continues: Option<bool>,
    pub upgraded: Option<bool>,
    pub error: Option<Cow<'static, str>>,
    pub parameters: Option<Value>,
}

The structure of a varlink reply. Used to deserialize it into json.

There should be no need to use this directly. See the CallTrait to use with the first Call parameter

Fields

Methods

impl Reply
[src]

Trait Implementations

impl From<Reply> for Error
[src]

Performs the conversion.

impl Debug for Reply
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Reply
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Reply
[src]

Returns the "default value" for a type. Read more

impl Clone for Reply
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> From<T> for Reply where
    T: VarlinkReply + Serialize
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Reply

impl Sync for Reply