pub enum ProtocolError {
Show 13 variants
NoMetaData,
CheckpointNotFound,
EndOfLog,
InvalidField(String),
InvalidRow(String),
InvalidDeletionVectorStorageType(String),
Generic(String),
ParquetParseError {
source: ParquetError,
},
SerializeOperation {
source: Error,
},
Arrow {
source: ArrowError,
},
ObjectStore {
source: Error,
},
IO {
source: Error,
},
Kernel {
source: Error,
},
}
Expand description
Error returned when an invalid Delta log action is encountered.
Variants§
NoMetaData
CheckpointNotFound
EndOfLog
InvalidField(String)
The action contains an invalid field.
InvalidRow(String)
A parquet log checkpoint file contains an invalid action.
InvalidDeletionVectorStorageType(String)
A transaction log contains invalid deletion vector storage type
Generic(String)
A generic action error. The wrapped error string describes the details.
ParquetParseError
Error returned when parsing checkpoint parquet using the parquet crate.
Fields
§
source: ParquetError
Parquet error details returned when parsing the checkpoint parquet
SerializeOperation
Faild to serialize operation
Arrow
Error returned when converting the schema to Arrow format failed.
Fields
§
source: ArrowError
Arrow error details returned when converting the schema in Arrow format failed
ObjectStore
Passthrough error returned when calling ObjectStore.
IO
Kernel
Trait Implementations§
Source§impl Debug for ProtocolError
impl Debug for ProtocolError
Source§impl Display for ProtocolError
impl Display for ProtocolError
Source§impl Error for ProtocolError
impl Error for ProtocolError
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 ProtocolError
impl From<ArrowError> for ProtocolError
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ProtocolError
impl From<Error> for ProtocolError
Source§impl From<Error> for ProtocolError
impl From<Error> for ProtocolError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ProtocolError
impl From<Error> for ProtocolError
Source§impl From<Error> for ProtocolError
impl From<Error> for ProtocolError
Source§impl From<ParquetError> for ProtocolError
impl From<ParquetError> for ProtocolError
Source§fn from(source: ParquetError) -> Self
fn from(source: ParquetError) -> Self
Converts to this type from the input type.
Source§impl From<ProtocolError> for DeltaTableError
impl From<ProtocolError> for DeltaTableError
Source§fn from(value: ProtocolError) -> Self
fn from(value: ProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProtocolError
impl !RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl !UnwindSafe for ProtocolError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more