Enum flo_canvas::StreamDecoderError
source · pub enum StreamDecoderError<E> {
Decoder(DecoderError),
Stream(E),
}
Expand description
Error from either a decoder or the stream that’s feeding it
Variants§
Trait Implementations§
source§impl<E: Clone> Clone for StreamDecoderError<E>
impl<E: Clone> Clone for StreamDecoderError<E>
source§fn clone(&self) -> StreamDecoderError<E>
fn clone(&self) -> StreamDecoderError<E>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<E: Debug> Debug for StreamDecoderError<E>
impl<E: Debug> Debug for StreamDecoderError<E>
source§impl<E: PartialEq> PartialEq<StreamDecoderError<E>> for StreamDecoderError<E>
impl<E: PartialEq> PartialEq<StreamDecoderError<E>> for StreamDecoderError<E>
source§fn eq(&self, other: &StreamDecoderError<E>) -> bool
fn eq(&self, other: &StreamDecoderError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.