pub enum SpringError {
ForeignIo {
foreign_info: ForeignInfo,
source: Error,
},
ForeignSourceTimeout {
foreign_info: ForeignInfo,
source: Error,
},
InputTimeout {
task_name: String,
source: Error,
},
SpringQlCoreIo(Error),
ThreadPoisoned(Error),
InvalidConfig {
source: Error,
},
InvalidOption {
key: String,
value: String,
source: Error,
},
InvalidFormat {
s: String,
source: Error,
},
Unavailable {
resource: String,
source: Error,
},
Sql(Error),
Null {
i_col: usize,
},
Time(TimeError),
}
Expand description
Error type
Variants§
ForeignIo
ForeignSourceTimeout
InputTimeout
SpringQlCoreIo(Error)
ThreadPoisoned(Error)
InvalidConfig
InvalidOption
InvalidFormat
Sql(Error)
Null
Occurs only when a value is fetched from a SpringSinkRow.
Time(TimeError)
Trait Implementations§
Source§impl Debug for SpringError
impl Debug for SpringError
Source§impl Display for SpringError
impl Display for SpringError
Source§impl Error for SpringError
impl Error for SpringError
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()
Auto Trait Implementations§
impl Freeze for SpringError
impl !RefUnwindSafe for SpringError
impl Send for SpringError
impl Sync for SpringError
impl Unpin for SpringError
impl !UnwindSafe for SpringError
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