Enum cdp::CdpErrorKind [] [src]

pub enum CdpErrorKind {
    ParseError,
    InvalidRequest,
    MethodNotFound,
    InvalidParams,
    InternalError,
    ServerError,
    Other(i32),
}

Variants

Trait Implementations

impl Clone for CdpErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CdpErrorKind
[src]

impl Debug for CdpErrorKind
[src]

[src]

Formats the value using the given formatter.

impl Eq for CdpErrorKind
[src]

impl PartialEq for CdpErrorKind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Display for CdpErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl From<i32> for CdpErrorKind
[src]

[src]

Performs the conversion.

impl From<CdpErrorKind> for i32
[src]

[src]

Performs the conversion.

impl Serialize for CdpErrorKind
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for CdpErrorKind
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more