#[non_exhaustive]pub enum FrError {
FrameParse(&'static str),
FrameParsef(&'static str, String),
ReelParsef(&'static str, String),
ReadInstruction(&'static str),
WriteInstruction(&'static str),
ReadInstructionf(&'static str, String),
ReelParse(&'static str),
Serde(String),
Parse(String),
File(String, String),
Pest(Box<Error<Rule>>),
}
Expand description
An error that occurred during parsing or hydrating a filmReel file
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FrameParse(&'static str)
FrameParsef(&'static str, String)
ReelParsef(&'static str, String)
ReadInstruction(&'static str)
WriteInstruction(&'static str)
ReadInstructionf(&'static str, String)
ReelParse(&'static str)
Serde(String)
Parse(String)
File(String, String)
Pest(Box<Error<Rule>>)
Trait Implementations§
source§impl Error for FrError
impl Error for FrError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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§impl PartialEq for FrError
impl PartialEq for FrError
impl StructuralPartialEq for FrError
Auto Trait Implementations§
impl Freeze for FrError
impl RefUnwindSafe for FrError
impl Send for FrError
impl Sync for FrError
impl Unpin for FrError
impl UnwindSafe for FrError
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