pub enum Error {
Show 24 variants
InvalidFormat(String),
Type(String, String),
ColumnNotInSchema(String, String),
Conversion(String, String),
NotFound(String),
NotSupported(String),
Avro(Error),
JSONSerde(Error),
Chrono(ParseError),
Uuid(Error),
IO(Error),
TryFromSlice(TryFromSliceError),
TryFromInt(TryFromIntError),
UTF8(Utf8Error),
FromUTF8(FromUtf8Error),
ParseInt(ParseIntError),
TableMetadataBuilder(TableMetadataBuilderError),
ViewMetadataBuilder(GeneralViewMetadataBuilderError),
VersionBuilder(VersionBuilderError),
ManifestEntryBuilder(ManifestEntryBuilderError),
DatafileBuilder(DataFileBuilderError),
SnapshotBuilder(SnapshotBuilderError),
StructTypeBuilder(StructTypeBuilderError),
PartitionSpec(PartitionSpecBuilderError),
}
Expand description
Iceberg error
Variants§
InvalidFormat(String)
Invalid format
Type(String, String)
Type error
ColumnNotInSchema(String, String)
Schema error
Conversion(String, String)
Conversion error
NotFound(String)
Not found
NotSupported(String)
Not supported
Avro(Error)
Avro error
JSONSerde(Error)
Serde json
Chrono(ParseError)
Chrono parse
Uuid(Error)
Chrono parse
IO(Error)
Io error
TryFromSlice(TryFromSliceError)
Try from slice error
TryFromInt(TryFromIntError)
Try from int error
UTF8(Utf8Error)
Utf8 error
FromUTF8(FromUtf8Error)
from utf8 error
ParseInt(ParseIntError)
parse int error
TableMetadataBuilder(TableMetadataBuilderError)
table metadata builder
ViewMetadataBuilder(GeneralViewMetadataBuilderError)
view metadata builder
VersionBuilder(VersionBuilderError)
version builder
ManifestEntryBuilder(ManifestEntryBuilderError)
manifest builder
DatafileBuilder(DataFileBuilderError)
datafile builder
SnapshotBuilder(SnapshotBuilderError)
snapshot builder
StructTypeBuilder(StructTypeBuilderError)
structype builder
PartitionSpec(PartitionSpecBuilderError)
partition spec builder
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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<DataFileBuilderError> for Error
impl From<DataFileBuilderError> for Error
Source§fn from(source: DataFileBuilderError) -> Error
fn from(source: DataFileBuilderError) -> Error
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
Source§fn from(source: FromUtf8Error) -> Error
fn from(source: FromUtf8Error) -> Error
Converts to this type from the input type.
Source§impl From<GeneralViewMetadataBuilderError> for Error
impl From<GeneralViewMetadataBuilderError> for Error
Source§fn from(source: GeneralViewMetadataBuilderError) -> Error
fn from(source: GeneralViewMetadataBuilderError) -> Error
Converts to this type from the input type.
Source§impl From<ManifestEntryBuilderError> for Error
impl From<ManifestEntryBuilderError> for Error
Source§fn from(source: ManifestEntryBuilderError) -> Error
fn from(source: ManifestEntryBuilderError) -> Error
Converts to this type from the input type.
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(source: ParseError) -> Error
fn from(source: ParseError) -> Error
Converts to this type from the input type.
Source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
Source§fn from(source: ParseIntError) -> Error
fn from(source: ParseIntError) -> Error
Converts to this type from the input type.
Source§impl From<PartitionSpecBuilderError> for Error
impl From<PartitionSpecBuilderError> for Error
Source§fn from(source: PartitionSpecBuilderError) -> Error
fn from(source: PartitionSpecBuilderError) -> Error
Converts to this type from the input type.
Source§impl From<SnapshotBuilderError> for Error
impl From<SnapshotBuilderError> for Error
Source§fn from(source: SnapshotBuilderError) -> Error
fn from(source: SnapshotBuilderError) -> Error
Converts to this type from the input type.
Source§impl From<StructTypeBuilderError> for Error
impl From<StructTypeBuilderError> for Error
Source§fn from(source: StructTypeBuilderError) -> Error
fn from(source: StructTypeBuilderError) -> Error
Converts to this type from the input type.
Source§impl From<TableMetadataBuilderError> for Error
impl From<TableMetadataBuilderError> for Error
Source§fn from(source: TableMetadataBuilderError) -> Error
fn from(source: TableMetadataBuilderError) -> Error
Converts to this type from the input type.
Source§impl From<TryFromIntError> for Error
impl From<TryFromIntError> for Error
Source§fn from(source: TryFromIntError) -> Error
fn from(source: TryFromIntError) -> Error
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
Source§fn from(source: TryFromSliceError) -> Error
fn from(source: TryFromSliceError) -> Error
Converts to this type from the input type.
Source§impl From<VersionBuilderError> for Error
impl From<VersionBuilderError> for Error
Source§fn from(source: VersionBuilderError) -> Error
fn from(source: VersionBuilderError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.