pub enum HeaderParserError {
MissingFeature(&'static str),
Other,
}
Variants§
MissingFeature(&'static str)
Failed to parse the header due to a disabled feature in swf-parser
Other
Other error (todo: replace this variant to provide more details)
Trait Implementations§
Source§impl Clone for HeaderParserError
impl Clone for HeaderParserError
Source§fn clone(&self) -> HeaderParserError
fn clone(&self) -> HeaderParserError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HeaderParserError
impl Debug for HeaderParserError
Source§impl Display for HeaderParserError
impl Display for HeaderParserError
Source§impl Error for HeaderParserError
impl Error for HeaderParserError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl Hash for HeaderParserError
impl Hash for HeaderParserError
Source§impl Ord for HeaderParserError
impl Ord for HeaderParserError
Source§fn cmp(&self, other: &HeaderParserError) -> Ordering
fn cmp(&self, other: &HeaderParserError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HeaderParserError
impl PartialEq for HeaderParserError
Source§impl PartialOrd for HeaderParserError
impl PartialOrd for HeaderParserError
impl Copy for HeaderParserError
impl Eq for HeaderParserError
impl StructuralPartialEq for HeaderParserError
Auto Trait Implementations§
impl Freeze for HeaderParserError
impl RefUnwindSafe for HeaderParserError
impl Send for HeaderParserError
impl Sync for HeaderParserError
impl Unpin for HeaderParserError
impl UnwindSafe for HeaderParserError
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