Enum async_dnssd::TimeoutStreamError
source · pub enum TimeoutStreamError<E> {
StreamError(E),
TimeoutError(Error),
}
Expand description
Error produces by TimeoutStream
A timeout itself doesn’t produce an error, it will just end the stream.
Variants§
StreamError(E)
An error occured in the underlying stream
TimeoutError(Error)
Setting / checking the timeout failed
Implementations§
source§impl<E: Into<Error>> TimeoutStreamError<E>
impl<E: Into<Error>> TimeoutStreamError<E>
sourcepub fn into_io_error(self) -> Error
pub fn into_io_error(self) -> Error
Combine to an std::io::Error
.