Enum cdp::CdpOutgoing [] [src]

pub enum CdpOutgoing<'a> {
    Result {
        id: u64,
        result: Result<Map<String, Value>, CdpError<'a>>,
    },
    Event {
        name: Cow<'a, str>,
        params: Map<String, Value>,
    },
    Error(CdpError<'a>),
}

Variants

Fields of Result

Fields of Event

Methods

impl<'a> CdpOutgoing<'a>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> Clone for CdpOutgoing<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for CdpOutgoing<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for CdpOutgoing<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Serialize for CdpOutgoing<'a>
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de, 'a> Deserialize<'de> for CdpOutgoing<'a>
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl<'a> From<CdpOutgoingImpl<'a>> for CdpOutgoing<'a>
[src]

[src]

Performs the conversion.