pub enum IRGraphError {
SerializeError(Error),
InvalidIR(String),
}Expand description
Errors that can occur when working with the IR graph.
Variants§
SerializeError(Error)
JSON (de)serialization failed.
InvalidIR(String)
The IR structure is invalid (e.g. missing required fields).
Trait Implementations§
Source§impl Debug for IRGraphError
impl Debug for IRGraphError
Source§impl Display for IRGraphError
impl Display for IRGraphError
Source§impl Error for IRGraphError
impl Error for IRGraphError
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()
Auto Trait Implementations§
impl Freeze for IRGraphError
impl !RefUnwindSafe for IRGraphError
impl Send for IRGraphError
impl Sync for IRGraphError
impl Unpin for IRGraphError
impl UnsafeUnpin for IRGraphError
impl !UnwindSafe for IRGraphError
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