Enum smf::QuerySelection [−][src]
pub enum QuerySelection<S = String, I = Vec<String>> where
S: AsRef<str>,
I: IntoIterator<Item = S>, { All, ByRestarter(S), ByPattern(I), }
Determines which services are returned from Query::get_status
Variants
All services instances.
All service instances which have the provided service instance as their restarter.
All service instance which match the provided strings as either an FMRI or pattern (globs allowed) matching FMRIs.
Auto Trait Implementations
impl<S, I> RefUnwindSafe for QuerySelection<S, I> where
I: RefUnwindSafe,
S: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, I> Send for QuerySelection<S, I> where
I: Send,
S: Send,
I: Send,
S: Send,
impl<S, I> Sync for QuerySelection<S, I> where
I: Sync,
S: Sync,
I: Sync,
S: Sync,
impl<S, I> Unpin for QuerySelection<S, I> where
I: Unpin,
S: Unpin,
I: Unpin,
S: Unpin,
impl<S, I> UnwindSafe for QuerySelection<S, I> where
I: UnwindSafe,
S: UnwindSafe,
I: UnwindSafe,
S: UnwindSafe,