Enum symsrv::NtSymbolPathEntry
source · pub enum NtSymbolPathEntry {
Cache(PathBuf),
Chain {
dll: String,
cache_paths: Vec<CachePath>,
urls: Vec<String>,
},
LocalOrShare(PathBuf),
}
Expand description
The parsed representation of one entry in the (semicolon-separated list of entries in the) _NT_SYMBOL_PATH
environment variable.
The syntax of this string is documented at https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/advanced-symsrv-use.
Variants§
Cache(PathBuf)
Sets a cache path that will be used for subsequent entries, and for any symbol paths that get added at runtime.
Created for cache*
entries.
Chain
Fields
A fallback-and-cache chain with optional http / https symbol servers at the end.
Created for srv*
and symsrv*
entries.
A path where symbols can be found but which is not used as a cache target. Created for entries which are just a path.
Trait Implementations§
source§impl Clone for NtSymbolPathEntry
impl Clone for NtSymbolPathEntry
source§fn clone(&self) -> NtSymbolPathEntry
fn clone(&self) -> NtSymbolPathEntry
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 NtSymbolPathEntry
impl Debug for NtSymbolPathEntry
source§impl PartialEq for NtSymbolPathEntry
impl PartialEq for NtSymbolPathEntry
source§fn eq(&self, other: &NtSymbolPathEntry) -> bool
fn eq(&self, other: &NtSymbolPathEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NtSymbolPathEntry
impl StructuralPartialEq for NtSymbolPathEntry
Auto Trait Implementations§
impl RefUnwindSafe for NtSymbolPathEntry
impl Send for NtSymbolPathEntry
impl Sync for NtSymbolPathEntry
impl Unpin for NtSymbolPathEntry
impl UnwindSafe for NtSymbolPathEntry
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.