pub struct InspectFetcher { /* private fields */ }
Expand description
InspectFetcher
fetches data from a list of selectors from FeedbackArchiveAccessor.
Implementations§
Source§impl InspectFetcher
impl InspectFetcher
Sourcepub fn create(
service_path: &str,
selectors: Vec<String>,
) -> Result<InspectFetcher, Error>
pub fn create( service_path: &str, selectors: Vec<String>, ) -> Result<InspectFetcher, Error>
Creates an InspectFetcher or returns an error. Note: If no selectors are given, fetch() will return “[]” instead of fetching all Inspect data.
service_path
should name a fuchsia.diagnostics.ArchiveAccessor service.
selectors
should be in Triage format, i.e. INSPECT:moniker:path:leaf.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InspectFetcher
impl !RefUnwindSafe for InspectFetcher
impl Send for InspectFetcher
impl Sync for InspectFetcher
impl Unpin for InspectFetcher
impl !UnwindSafe for InspectFetcher
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