Struct FilterOptions
pub struct FilterOptions {
pub recursive: Option<bool>,
pub job_only: Option<bool>,
/* private fields */
}
Fields§
§recursive: Option<bool>
Whether or not to also match all child components in the matching component’s realm. When true, the matching component’s full moniker will be assumed to be the root of the realm, and all children components will be launched within this realm. This is mutually exclusive with |job_only|. If both are specified, a FilterError will be returned.
job_only: Option<bool>
Whether or not to attach directly to the parent job of the process matching the filter. When true, the parent job’s standard exception channel will be bound, rather than the exception channel of the process. See https://fuchsia.dev/fuchsia-src/concepts/kernel/exceptions#exception_channel_types for more details. Note that this is not the same as the “Debugger” exception channel, which only delivers process starting “exceptions” but not architectural exceptions. Note that this is mutually exclusive with |recursive|. If both are specified, a FilterError will be returned.
Trait Implementations§
§impl Clone for FilterOptions
impl Clone for FilterOptions
§fn clone(&self) -> FilterOptions
fn clone(&self) -> FilterOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for FilterOptions
impl Debug for FilterOptions
§impl<D> Decode<FilterOptions, D> for FilterOptionswhere
D: ResourceDialect,
impl<D> Decode<FilterOptions, D> for FilterOptionswhere
D: ResourceDialect,
§fn new_empty() -> FilterOptions
fn new_empty() -> FilterOptions
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl Default for FilterOptions
impl Default for FilterOptions
§fn default() -> FilterOptions
fn default() -> FilterOptions
§impl<D> Encode<FilterOptions, D> for &FilterOptionswhere
D: ResourceDialect,
impl<D> Encode<FilterOptions, D> for &FilterOptionswhere
D: ResourceDialect,
§impl PartialEq for FilterOptions
impl PartialEq for FilterOptions
§impl TypeMarker for FilterOptions
impl TypeMarker for FilterOptions
§type Owned = FilterOptions
type Owned = FilterOptions
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for FilterOptions
impl ValueTypeMarker for FilterOptions
§type Borrowed<'a> = &'a FilterOptions
type Borrowed<'a> = &'a FilterOptions
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<FilterOptions as TypeMarker>::Owned,
) -> <FilterOptions as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<FilterOptions as TypeMarker>::Owned, ) -> <FilterOptions as ValueTypeMarker>::Borrowed<'_>
&Self::Owned
to Self::Borrowed
.