Enum git_pack::multi_index::init::Error
source · pub enum Error {
Io {
source: Error,
path: PathBuf,
},
Corrupt {
message: &'static str,
},
UnsupportedVersion {
version: u8,
},
UnsupportedObjectHash {
kind: u8,
},
ChunkFileDecode(Error),
MissingChunk(Error),
FileTooLarge(Error),
MultiPackFanSize,
PackNames(Error),
InvalidChunkSize {
id: Id,
message: &'static str,
},
}
Expand description
The error returned by File::at().
Variants§
Io
Corrupt
UnsupportedVersion
UnsupportedObjectHash
ChunkFileDecode(Error)
MissingChunk(Error)
FileTooLarge(Error)
MultiPackFanSize
PackNames(Error)
InvalidChunkSize
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()