Enum cameleon::StreamError [−][src]
pub enum StreamError { ReceiveError(Cow<'static, str>), SendError(Cow<'static, str>), InvalidPayload(Cow<'static, str>), Disconnected, Io(Error), Timeout, Poisoned(Cow<'static, str>), BufferTooSmall, InStreaming, }
Expand description
An error type related to payload streaming.
Variants
Failed to receive payload::Payload
.
Failed to send payload::Payload
.
Payload leader is invalid.
The device is disconnected from the host.
Io(Error)
IO error.
Timeout has occured when receiveing stream payload.
A panic has occurred in streaming loop.
Buffer is too small to receive data.
Streaming is already started.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl !UnwindSafe for StreamError