pub enum InputError {
Io(Error),
Parquet(ParquetError),
UnsupportedScheme {
scheme: String,
url: String,
},
RemoteDisabled(String),
Arrow(ArrowError),
IncompatiblePartition {
first: String,
offender: String,
detail: String,
},
NoParquetInputs {
input: String,
},
RemotePrefixUnsupported {
url: String,
},
ManifestRead {
path: String,
source: Error,
},
MissingListedInput {
context: String,
input: String,
},
GlobPattern {
pattern: String,
message: String,
},
}Expand description
Errors from opening or reading an InputSource.
Variants§
Io(Error)
Local I/O error.
Parquet(ParquetError)
Parquet error (footer parse, reader construction).
UnsupportedScheme
The input looks like a URL but uses a scheme we do not support.
RemoteDisabled(String)
A remote URL was supplied but the crate was built without remote.
Arrow(ArrowError)
Arrow error surfaced while decoding record batches from a stream.
IncompatiblePartition
A partition of a multi-file input does not match the first partition (schema shape, geometry extension metadata, or CRS).
Fields
NoParquetInputs
A directory or glob input matched no .parquet files.
RemotePrefixUnsupported
An http(s):// URL naming a prefix (“directory”). Generic HTTP has
no listing API, so the objects must be named explicitly; s3:// and
gs:// prefixes are listed natively.
ManifestRead
The --files-from manifest itself could not be read.
MissingListedInput
An explicitly listed input (a --files-from manifest line or a
Python input-list entry) does not exist as a local file. Listed
entries are single files/objects only — no directory, glob, or
prefix expansion.
Fields
GlobPattern
A glob input string is not a valid glob pattern.
Trait Implementations§
Source§impl Debug for InputError
impl Debug for InputError
Source§impl Display for InputError
impl Display for InputError
Source§impl Error for InputError
impl Error for InputError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ArrowError> for InputError
impl From<ArrowError> for InputError
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Source§impl From<Error> for InputError
impl From<Error> for InputError
Source§impl From<InputError> for ConvertError
impl From<InputError> for ConvertError
Source§fn from(source: InputError) -> Self
fn from(source: InputError) -> Self
Source§impl From<ParquetError> for InputError
impl From<ParquetError> for InputError
Source§fn from(source: ParquetError) -> Self
fn from(source: ParquetError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for InputError
impl !UnwindSafe for InputError
impl Freeze for InputError
impl Send for InputError
impl Sync for InputError
impl Unpin for InputError
impl UnsafeUnpin for InputError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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