pub enum NseScriptSource {
Builtin {
name: String,
},
TrustedRegistry {
name: String,
},
File {
path: PathBuf,
},
InlineManual {
label: String,
content: String,
},
}Expand description
Explicit script source kind. All script loading must declare its source.
Variants§
Builtin
Built-in script shipped with eggsec-nse.
TrustedRegistry
Future: trusted bundled or generated script registry.
File
User-provided script file on disk.
InlineManual
Inline script content (tests, manual CLI).
Trait Implementations§
Source§impl Clone for NseScriptSource
impl Clone for NseScriptSource
Source§impl Debug for NseScriptSource
impl Debug for NseScriptSource
Auto Trait Implementations§
impl Freeze for NseScriptSource
impl RefUnwindSafe for NseScriptSource
impl Send for NseScriptSource
impl Sync for NseScriptSource
impl Unpin for NseScriptSource
impl UnsafeUnpin for NseScriptSource
impl UnwindSafe for NseScriptSource
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