Enum graphannis::errors::CorpusStorageError [−][src]
#[non_exhaustive]
pub enum CorpusStorageError {
ListingDirectories {
path: String,
source: Error,
},
DirectoryEntry {
path: String,
source: Error,
},
FileTypeDetection {
path: String,
source: Error,
},
LoadingCorpusConfig {
corpus: String,
source: Box<dyn Error + Send + Sync>,
},
CreateCorpus {
corpus: String,
source: GraphAnnisCoreError,
},
MultipleCorporaForSingleCorpusFormat(usize),
RemoveFileForCorpus {
corpus: String,
source: Error,
},
LockCorpusDirectory {
path: String,
source: Error,
},
CorpusCacheEntryNotLoaded,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ListingDirectories
DirectoryEntry
FileTypeDetection
LoadingCorpusConfig
CreateCorpus
MultipleCorporaForSingleCorpusFormat(usize)
Tuple Fields
0: usize
RemoveFileForCorpus
LockCorpusDirectory
CorpusCacheEntryNotLoaded
Trait Implementations
Performs the conversion.