Enum ether_dream::dac::stream::CommunicationError
[−]
[src]
pub enum CommunicationError { Io(Error), Protocol(ProtocolError), Response(ResponseError), }
Errors that may occur when connecting a Stream
.
Variants
Io(Error)
Protocol(ProtocolError)
Response(ResponseError)
Trait Implementations
impl Debug for CommunicationError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for CommunicationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Display for CommunicationError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Error> for CommunicationError
[src]
impl From<ProtocolError> for CommunicationError
[src]
fn from(err: ProtocolError) -> Self
[src]
Performs the conversion.
impl From<ResponseError> for CommunicationError
[src]
fn from(err: ResponseError) -> Self
[src]
Performs the conversion.