pub enum OutputError {
HoldsResults {
dir: PathBuf,
file: String,
},
Locked {
dir: PathBuf,
},
Link {
path: PathBuf,
},
Read {
path: PathBuf,
source: Error,
},
Write {
path: PathBuf,
source: Error,
},
Table(ReadError),
Summary(SummaryError),
Manifest(Error),
}Expand description
Results that cannot be written.
Variants§
HoldsResults
Directory dir holds file from an earlier sweep or search.
Fields
Locked
Another sweep, search or merge holds the lock of directory dir and writes to it.
Link
The table at path is a symbolic link. A writer never follows a symbolic link.
Read
Reading path failed.
Fields
Write
Creating or writing path failed.
Fields
Table(ReadError)
A table that cannot be read back.
Summary(SummaryError)
runs.csv cannot be summarized.
Manifest(Error)
Serializing the manifest failed.
Trait Implementations§
Source§impl Debug for OutputError
impl Debug for OutputError
Source§impl Display for OutputError
impl Display for OutputError
Source§impl Error for OutputError
impl Error for OutputError
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<OutputError> for ExploreError
impl From<OutputError> for ExploreError
Source§fn from(error: OutputError) -> Self
fn from(error: OutputError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OutputError
impl !UnwindSafe for OutputError
impl Freeze for OutputError
impl Send for OutputError
impl Sync for OutputError
impl Unpin for OutputError
impl UnsafeUnpin for OutputError
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> 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