pub enum SparkError {
NotYetImplemented(String),
ExternalError(Box<dyn Error + Send + Sync>),
AnalysisException(String),
IoError(String, Error),
ArrowError(ArrowError),
InvalidConnectionUrl(String),
}
Expand description
Different Spark
types
Variants§
NotYetImplemented(String)
Returned when functionality is not yet available.
ExternalError(Box<dyn Error + Send + Sync>)
AnalysisException(String)
IoError(String, Error)
ArrowError(ArrowError)
InvalidConnectionUrl(String)
Implementations§
Source§impl SparkError
impl SparkError
Trait Implementations§
Source§impl Debug for SparkError
impl Debug for SparkError
Source§impl Display for SparkError
impl Display for SparkError
Source§impl Error for SparkError
impl Error for SparkError
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<ArrowError> for SparkError
impl From<ArrowError> for SparkError
Source§fn from(error: ArrowError) -> Self
fn from(error: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SparkError
impl From<Error> for SparkError
Source§impl From<Error> for SparkError
impl From<Error> for SparkError
Source§impl From<FromUtf8Error> for SparkError
impl From<FromUtf8Error> for SparkError
Source§fn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl<W: Write> From<IntoInnerError<W>> for SparkError
impl<W: Write> From<IntoInnerError<W>> for SparkError
Source§fn from(error: IntoInnerError<W>) -> Self
fn from(error: IntoInnerError<W>) -> Self
Converts to this type from the input type.
Source§impl From<Status> for SparkError
impl From<Status> for SparkError
Auto Trait Implementations§
impl Freeze for SparkError
impl !RefUnwindSafe for SparkError
impl Send for SparkError
impl Sync for SparkError
impl Unpin for SparkError
impl !UnwindSafe for SparkError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request