pub struct InspectFetcher { /* private fields */ }
Expand description
InspectFetcher
fetches data from a list of selectors from ArchiveAccessor.
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more