pub enum TopLevelError {
TestingError,
ParseError,
Io(Error),
}
Expand description
A top level error returned by processes or tests.. It’s not bounded by the lifetime of the string being parsed. we should add error codes to these.
That will be a breaking change.
Variants§
Trait Implementations§
Source§impl Debug for TopLevelError
impl Debug for TopLevelError
Source§impl<'a> From<JsonPopError<'a>> for TopLevelError
impl<'a> From<JsonPopError<'a>> for TopLevelError
Source§fn from(it: JsonPopError<'a>) -> TopLevelError
fn from(it: JsonPopError<'a>) -> TopLevelError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TopLevelError
impl !RefUnwindSafe for TopLevelError
impl Send for TopLevelError
impl Sync for TopLevelError
impl Unpin for TopLevelError
impl !UnwindSafe for TopLevelError
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