pub enum StringContext {
FileString {
offset: Option<usize>,
},
Import {
library: String,
},
Export {
symbol: String,
},
Resource {
resource_type: String,
},
Section {
section_name: String,
},
Metadata {
field: String,
},
Path {
path_type: String,
},
Url {
protocol: Option<String>,
},
Registry {
hive: Option<String>,
},
Command {
command_type: String,
},
Other {
category: String,
},
}
Expand description
Context in which a string was found
Variants§
FileString
String found in file content
Import
String found in import tables or dependencies
Export
String found in export tables or exported symbols
Resource
String found in embedded resources
Section
String found in file sections
Metadata
String found in file metadata
Path
String representing a file system path
Url
String representing a URL
Registry
String found in Windows registry context
Command
String found in command or script context
Other
String found in other contexts
Trait Implementations§
Source§impl Clone for StringContext
impl Clone for StringContext
Source§fn clone(&self) -> StringContext
fn clone(&self) -> StringContext
Returns a duplicate 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 StringContext
impl Debug for StringContext
Source§impl<'de> Deserialize<'de> for StringContext
impl<'de> Deserialize<'de> for StringContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StringContext
impl RefUnwindSafe for StringContext
impl Send for StringContext
impl Sync for StringContext
impl Unpin for StringContext
impl UnwindSafe for StringContext
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