Struct cdp::CdpError [] [src]

pub struct CdpError<'a> {
    pub kind: CdpErrorKind,
    pub message: Cow<'a, str>,
    pub data: Option<Value>,
}

Fields

Methods

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

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> Clone for CdpError<'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 CdpError<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for CdpError<'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> Error for CdpError<'a>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl<'a> Display for CdpError<'a>
[src]

[src]

Formats the value using the given formatter. Read more