#[non_exhaustive]pub enum DiscoveryEvent<'path> {
DebuginfodRequest {
artifact: &'static str,
build_id: &'path str,
endpoint: &'path str,
related_path: &'path Path,
},
}Expand description
A potentially slow operation reported during path-based debug discovery.
Pass an observer to ElfConverter::convert_path_with_observer to surface
network activity in interactive tools.
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.
DebuginfodRequest
A debuginfod request is about to be issued.
Trait Implementations§
Source§impl<'path> Clone for DiscoveryEvent<'path>
impl<'path> Clone for DiscoveryEvent<'path>
Source§fn clone(&self) -> DiscoveryEvent<'path>
fn clone(&self) -> DiscoveryEvent<'path>
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<'path> Copy for DiscoveryEvent<'path>
Source§impl<'path> Debug for DiscoveryEvent<'path>
impl<'path> Debug for DiscoveryEvent<'path>
impl<'path> Eq for DiscoveryEvent<'path>
Source§impl<'path> PartialEq for DiscoveryEvent<'path>
impl<'path> PartialEq for DiscoveryEvent<'path>
Source§fn eq(&self, other: &DiscoveryEvent<'path>) -> bool
fn eq(&self, other: &DiscoveryEvent<'path>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'path> StructuralPartialEq for DiscoveryEvent<'path>
Auto Trait Implementations§
impl<'path> Freeze for DiscoveryEvent<'path>
impl<'path> RefUnwindSafe for DiscoveryEvent<'path>
impl<'path> Send for DiscoveryEvent<'path>
impl<'path> Sync for DiscoveryEvent<'path>
impl<'path> Unpin for DiscoveryEvent<'path>
impl<'path> UnsafeUnpin for DiscoveryEvent<'path>
impl<'path> UnwindSafe for DiscoveryEvent<'path>
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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