#[repr(C)]pub struct lysc_ext {
pub name: *const c_char,
pub argname: *const c_char,
pub exts: *mut lysc_ext_instance,
pub plugin_ref: usize,
pub module: *mut lys_module,
pub flags: u16,
}Expand description
@brief Compiled YANG extension-stmt
Note that the compiled extension definition is created only in case the extension is instantiated. It is not available from the compiled schema, but from the parsed extension definition which is being searched when an extension instance is being compiled.
Fields§
§name: *const c_char< extension name
argname: *const c_char< argument name, NULL if not specified
exts: *mut lysc_ext_instance< list of the extension instances ([sized array](@ref sizedarrays))
plugin_ref: usize< reference to extension plugin, use ::lysc_get_ext_plugin() to get the plugin
module: *mut lys_module< module structure
flags: u16< LYS_STATUS_* value (@ref snodeflags)
Trait Implementations§
Auto Trait Implementations§
impl !Send for lysc_ext
impl !Sync for lysc_ext
impl Freeze for lysc_ext
impl RefUnwindSafe for lysc_ext
impl Unpin for lysc_ext
impl UnsafeUnpin for lysc_ext
impl UnwindSafe for lysc_ext
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