Enum ebml_iterable::error::CorruptedFileError
source · pub enum CorruptedFileError {
InvalidTagId {
position: usize,
tag_id: u64,
},
InvalidTagData {
position: usize,
tag_id: u64,
},
HierarchyError {
found_tag_id: u64,
current_parent_id: Option<u64>,
},
OversizedChildElement {
position: usize,
tag_id: u64,
size: usize,
},
InvalidTagSize {
position: usize,
tag_id: u64,
size: usize,
},
}Expand description
Errors that indicate file data is corrupted.
Variants§
InvalidTagId
An error indicating the reader found an ebml tag id not defined in the current specification.
InvalidTagData
An error indicating the reader could not parse a valid tag due to corrupted tag data (size/contents).
HierarchyError
Fields
An error indicating the reader found an element outside of its expected hierarchy.
OversizedChildElement
Fields
An error indicating the reader found a child element with incorrect sizing.
InvalidTagSize
Fields
An error indicating the reader found a tag with an invalid size.
Trait Implementations§
source§impl Debug for CorruptedFileError
impl Debug for CorruptedFileError
Auto Trait Implementations§
impl RefUnwindSafe for CorruptedFileError
impl Send for CorruptedFileError
impl Sync for CorruptedFileError
impl Unpin for CorruptedFileError
impl UnwindSafe for CorruptedFileError
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