#[non_exhaustive]pub enum DiscoveryPolicy {
Disabled,
Enabled,
}Available on crate feature
convert only.Expand description
Companion-file discovery policy for path-based conversion.
Applies to ElfConverter::convert_path only; ElfConverter::convert
never searches. Disabled prevents filesystem and network searches for
separate debug files, supplementary files, and split-DWARF data.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled
Convert only the requested image path.
Enabled
Search separate, supplementary, split-DWARF, and remote debug sources.
Trait Implementations§
Source§impl Clone for DiscoveryPolicy
impl Clone for DiscoveryPolicy
Source§fn clone(&self) -> DiscoveryPolicy
fn clone(&self) -> DiscoveryPolicy
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 DiscoveryPolicy
Source§impl Debug for DiscoveryPolicy
impl Debug for DiscoveryPolicy
Source§impl Default for DiscoveryPolicy
impl Default for DiscoveryPolicy
Source§fn default() -> DiscoveryPolicy
fn default() -> DiscoveryPolicy
Returns the “default value” for a type. Read more
impl Eq for DiscoveryPolicy
Source§impl PartialEq for DiscoveryPolicy
impl PartialEq for DiscoveryPolicy
impl StructuralPartialEq for DiscoveryPolicy
Auto Trait Implementations§
impl Freeze for DiscoveryPolicy
impl RefUnwindSafe for DiscoveryPolicy
impl Send for DiscoveryPolicy
impl Sync for DiscoveryPolicy
impl Unpin for DiscoveryPolicy
impl UnsafeUnpin for DiscoveryPolicy
impl UnwindSafe for DiscoveryPolicy
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