pub struct DebuginfodClient { /* private fields */ }Implementations§
Source§impl DebuginfodClient
impl DebuginfodClient
pub fn new(config: DebuginfodConfig) -> Result<Self>
pub fn config(&self) -> &DebuginfodConfig
pub async fn fetch_debuginfo( &self, build_id: &[u8], ) -> Result<Option<FetchedFile>>
pub async fn fetch_executable( &self, build_id: &[u8], ) -> Result<Option<FetchedFile>>
pub async fn fetch_source( &self, build_id: &[u8], source_path: impl AsRef<str>, ) -> Result<Option<FetchedFile>>
Trait Implementations§
Source§impl Clone for DebuginfodClient
impl Clone for DebuginfodClient
Source§fn clone(&self) -> DebuginfodClient
fn clone(&self) -> DebuginfodClient
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for DebuginfodClient
impl !UnwindSafe for DebuginfodClient
impl Freeze for DebuginfodClient
impl Send for DebuginfodClient
impl Sync for DebuginfodClient
impl Unpin for DebuginfodClient
impl UnsafeUnpin for DebuginfodClient
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