pub enum StreamError {
Io(Error),
Serialization(String),
Config(String),
Runtime(String),
EOF,
Wait(u64),
}
Expand description
Error types that can occur during stream processing
Variants§
Trait Implementations§
Source§impl Debug for StreamError
impl Debug for StreamError
Source§impl Display for StreamError
impl Display for StreamError
Source§impl Error for StreamError
impl Error for StreamError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Error> for StreamError
Error converter for CSV errors
impl From<Error> for StreamError
Error converter for CSV errors
Source§impl From<Error> for StreamError
Error converter for serde_json errors
impl From<Error> for StreamError
Error converter for serde_json errors
Source§impl From<Error> for StreamError
impl From<Error> for StreamError
Source§impl From<FromUtf8Error> for StreamError
Error converter for UTF-8 errors
impl From<FromUtf8Error> for StreamError
Error converter for UTF-8 errors
Source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl<T> From<IntoInnerError<T>> for StreamError
Error converter for CSV writer’s IntoInnerError
impl<T> From<IntoInnerError<T>> for StreamError
Error converter for CSV writer’s IntoInnerError
Source§fn from(err: IntoInnerError<T>) -> Self
fn from(err: IntoInnerError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StreamError
impl !RefUnwindSafe for StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl !UnwindSafe for StreamError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more