Enum cdp::CdpErrorKind
[−]
[src]
pub enum CdpErrorKind {
ParseError,
InvalidRequest,
MethodNotFound,
InvalidParams,
InternalError,
ServerError,
Other(i32),
}Variants
ParseErrorInvalidRequestMethodNotFoundInvalidParamsInternalErrorServerErrorOther(i32)
Trait Implementations
impl Clone for CdpErrorKind[src]
fn clone(&self) -> CdpErrorKind[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for CdpErrorKind[src]
impl Debug for CdpErrorKind[src]
impl Eq for CdpErrorKind[src]
impl PartialEq for CdpErrorKind[src]
fn eq(&self, other: &Self) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Display for CdpErrorKind[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<i32> for CdpErrorKind[src]
impl From<CdpErrorKind> for i32[src]
fn from(kind: CdpErrorKind) -> Self[src]
Performs the conversion.
impl Serialize for CdpErrorKind[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for CdpErrorKind[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more