#[repr(C)]pub struct ly_err_item {
pub level: Type,
pub err: Type,
pub vecode: Type,
pub msg: *mut c_char,
pub data_path: *mut c_char,
pub schema_path: *mut c_char,
pub line: u64,
pub apptag: *mut c_char,
pub next: *mut ly_err_item,
pub prev: *mut ly_err_item,
}Expand description
@brief Libyang full error structure.
Fields§
§level: Type< error (message) log level
err: Type< error code number
vecode: Type< validation error code, if any
msg: *mut c_char< error message
data_path: *mut c_char< error data path related to the error, if any
schema_path: *mut c_char< error schema path related to the error, if any
line: u64< input line the error occured on, if available
apptag: *mut c_char< error-app-tag, if any
next: *mut ly_err_item< next error item
prev: *mut ly_err_item< previous error item, points to the last item for the ifrst item
Trait Implementations§
Source§impl Clone for ly_err_item
impl Clone for ly_err_item
Source§fn clone(&self) -> ly_err_item
fn clone(&self) -> ly_err_item
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ly_err_item
Source§impl Debug for ly_err_item
impl Debug for ly_err_item
Auto Trait Implementations§
impl !Send for ly_err_item
impl !Sync for ly_err_item
impl Freeze for ly_err_item
impl RefUnwindSafe for ly_err_item
impl Unpin for ly_err_item
impl UnsafeUnpin for ly_err_item
impl UnwindSafe for ly_err_item
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