Enum git_chunk::file::decode::Error [−][src]
pub enum Error {
EarlySentinelValue,
MissingSentinelValue {
actual: Kind,
},
ChunkSizeOutOfBounds {
offset: Offset,
file_length: u64,
},
DuplicateChunk(Kind),
TocTooSmall {
actual: usize,
expected: usize,
},
Empty,
}
Expand description
The value returned by [crate::FileRef::from_bytes()
Variants
EarlySentinelValue
MissingSentinelValue
Fields
actual: Kind
ChunkSizeOutOfBounds
DuplicateChunk(Kind)
Tuple Fields
0: Kind