Enum wavedrom::RenderJsonError
source · pub enum RenderJsonError {
Json(Error),
Io(Error),
}
Available on crate features
serde
and serde_json
only.Expand description
An error with the render_json
or
render_json_with_options
functions.
Variants§
Trait Implementations§
source§impl Debug for RenderJsonError
impl Debug for RenderJsonError
source§impl Display for RenderJsonError
impl Display for RenderJsonError
source§impl Error for RenderJsonError
impl Error for RenderJsonError
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
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 From<Error> for RenderJsonError
impl From<Error> for RenderJsonError
Auto Trait Implementations§
impl !RefUnwindSafe for RenderJsonError
impl Send for RenderJsonError
impl Sync for RenderJsonError
impl Unpin for RenderJsonError
impl !UnwindSafe for RenderJsonError
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