Enum iceberg_rust_spec::error::Error
source · pub enum Error {
Show 20 variants
InvalidFormat(String),
Type(String, String),
Schema(String, String),
Conversion(String, String),
NotFound(String, String),
NotSupported(String),
Avro(Error),
JSONSerde(Error),
Chrono(ParseError),
Uuid(Error),
IO(Error),
ObjectStore(Error),
TryFromSlice(TryFromSliceError),
TryFromInt(TryFromIntError),
UTF8(Utf8Error),
FromUTF8(FromUtf8Error),
ParseInt(ParseIntError),
TableMetadataBuilder(TableMetadataBuilderError),
ViewMetadataBuilder(GeneralViewMetadataBuilderError),
VersionBuilder(VersionBuilderError),
}Expand description
Iceberg error
Variants§
InvalidFormat(String)
Invalid format
Type(String, String)
Type error
Schema(String, String)
Schema error
Conversion(String, String)
Conversion error
NotFound(String, 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
ObjectStore(Error)
Objectstore 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
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)>
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<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<GeneralViewMetadataBuilderError> for Error
impl From<GeneralViewMetadataBuilderError> for Error
source§fn from(source: GeneralViewMetadataBuilderError) -> Self
fn from(source: GeneralViewMetadataBuilderError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<TableMetadataBuilderError> for Error
impl From<TableMetadataBuilderError> for Error
source§fn from(source: TableMetadataBuilderError) -> Self
fn from(source: TableMetadataBuilderError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for Error
impl From<TryFromIntError> for Error
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
source§impl From<VersionBuilderError> for Error
impl From<VersionBuilderError> for Error
source§fn from(source: VersionBuilderError) -> Self
fn from(source: VersionBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§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