Struct ether_dream::dac::stream::ResponseError
[−]
[src]
pub struct ResponseError { pub response: DacResponse, pub kind: ResponseErrorKind, }
An error indicated by a DAC response.
Fields
response: DacResponse
The DAC response on which the NAK was received.
kind: ResponseErrorKind
The kind of response error that occurred.
Trait Implementations
impl Debug for ResponseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for ResponseError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for ResponseError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<ResponseError> for CommunicationError
[src]
fn from(err: ResponseError) -> Self
[src]
Performs the conversion.