Enum r_extcap::controls::synchronous::ControlChannelError
source · pub enum ControlChannelError {
ReadControl(ReadControlError),
CannotSend,
}
Expand description
Error associated with ChannelExtcapControlReader
.
Variants§
ReadControl(ReadControlError)
Error returned when the control packet cannot be read. See
the docs on ReadControlError
.
CannotSend
Error returned when the control packet cannot be sent on the channel.
This is caused by an underlying SendError
.
Trait Implementations§
source§impl Debug for ControlChannelError
impl Debug for ControlChannelError
source§impl Display for ControlChannelError
impl Display for ControlChannelError
source§impl Error for ControlChannelError
impl Error for ControlChannelError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ReadControlError> for ControlChannelError
impl From<ReadControlError> for ControlChannelError
source§fn from(source: ReadControlError) -> Self
fn from(source: ReadControlError) -> Self
Converts to this type from the input type.