Enum mpd::error::ProtoError
[−]
[src]
pub enum ProtoError { NotOk, NotPair, BadBanner, NoField(&'static str), }
Protocol errors
They usually occur when server violate expected command response format,
like missing fields in answer to some command, missing closing OK
line after data stream etc.
Variants
NotOk
OK
was expected, but it was missing
NotPair
a data pair was expected
BadBanner
invalid handshake banner received
NoField(&'static str)
expected some field, but it was missing
Trait Implementations
impl Debug for ProtoError
[src]
impl Clone for ProtoError
[src]
fn clone(&self) -> ProtoError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ProtoError
[src]
fn eq(&self, __arg_0: &ProtoError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ProtoError) -> bool
This method tests for !=
.