#[repr(C)]pub struct yyjson_write_err {
pub code: yyjson_write_code,
pub msg: *const c_char,
}
Expand description
Error information for JSON writer.
Fields§
§code: yyjson_write_code
Error code, see yyjson_write_code
for all possible values.
msg: *const c_char
Error message, constant, no need to free (NULL if success).
Trait Implementations§
Source§impl Clone for yyjson_write_err
impl Clone for yyjson_write_err
Source§fn clone(&self) -> yyjson_write_err
fn clone(&self) -> yyjson_write_err
Returns a copy 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 yyjson_write_err
impl Debug for yyjson_write_err
impl Copy for yyjson_write_err
Auto Trait Implementations§
impl Freeze for yyjson_write_err
impl RefUnwindSafe for yyjson_write_err
impl !Send for yyjson_write_err
impl !Sync for yyjson_write_err
impl Unpin for yyjson_write_err
impl UnwindSafe for yyjson_write_err
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