Enum rs3cache_backend::index::IntegrityError
source · pub enum IntegrityError {
ArchiveMissing {
index_id: u32,
archive_id: u32,
location: &'static Location<'static>,
},
ArchiveMissingNamed {
index_id: u32,
name: String,
location: &'static Location<'static>,
},
FileMissing {
index_id: u32,
archive_id: u32,
file: u32,
},
FileMissingNamed {
index_id: u32,
archive_id: u32,
name: String,
},
Crc {
crc: i64,
metadata: Metadata,
},
Version {
version: i64,
metadata: Metadata,
},
Blank {
metadata: Metadata,
},
Corrupted {
source: Error,
metadata: Metadata,
location: &'static Location<'static>,
},
Other {
source: Error,
location: &'static Location<'static>,
},
}
Variants§
Trait Implementations§
source§impl Debug for IntegrityError
impl Debug for IntegrityError
source§impl Display for IntegrityError
impl Display for IntegrityError
source§impl Error for IntegrityError
impl Error for IntegrityError
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
source§fn provide<'a>(&'a self, demand: &mut Demand<'a>)
fn provide<'a>(&'a self, demand: &mut Demand<'a>)
🔬This is a nightly-only experimental API. (
error_generic_member_access
)Provides type based access to context intended for error reports. 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()