pub struct ExposeRunner {
pub source: Option<Ref>,
pub source_name: Option<String>,
pub target: Option<Ref>,
pub target_name: Option<String>,
pub source_dictionary: Option<String>,
/* private fields */
}
Expand description
Declares a runner exposed to a component’s containing realm, such as a runner exposed by the component or one of its children at runtime.
Fields§
§source: Option<Ref>
(Required) The provider of the capability relative to the component
itself. Must be self
or child
.
source_name: Option<String>
(Required) The name of the runner, by which it was presented to this component.
target: Option<Ref>
(Required) The destination to which the runner is exposed: either the component’s realm or the framework.
target_name: Option<String>
(Required) The name by which the capability is being exposed.
source_dictionary: Option<String>
(Optional) Path in a dictionary offered by ref
which contains source_name
.
If this field is absent, source_name
identifies a capability directly routed
by source
. If set, source_name
identifies a capability nested inside a
dictionary. The name of the top-level dictionary is given by the first path
segment of source_dictionary
, and source
is expected to route a
dictionary capability with this name. The rest of the path (possibly empty)
represents the path to a dictionary nested in the top-level dictionary which
is expected to contain source_name
.
Trait Implementations§
source§impl Clone for ExposeRunner
impl Clone for ExposeRunner
source§fn clone(&self) -> ExposeRunner
fn clone(&self) -> ExposeRunner
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExposeRunner
impl Debug for ExposeRunner
source§impl<D: ResourceDialect> Decode<ExposeRunner, D> for ExposeRunner
impl<D: ResourceDialect> Decode<ExposeRunner, D> for ExposeRunner
source§impl Default for ExposeRunner
impl Default for ExposeRunner
source§fn default() -> ExposeRunner
fn default() -> ExposeRunner
source§impl<D: ResourceDialect> Encode<ExposeRunner, D> for &ExposeRunner
impl<D: ResourceDialect> Encode<ExposeRunner, D> for &ExposeRunner
source§impl PartialEq for ExposeRunner
impl PartialEq for ExposeRunner
source§fn eq(&self, other: &ExposeRunner) -> bool
fn eq(&self, other: &ExposeRunner) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for ExposeRunner
impl TypeMarker for ExposeRunner
§type Owned = ExposeRunner
type Owned = ExposeRunner
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
source§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.source§impl ValueTypeMarker for ExposeRunner
impl ValueTypeMarker for ExposeRunner
§type Borrowed<'a> = &'a ExposeRunner
type Borrowed<'a> = &'a ExposeRunner
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for ExposeRunner
impl StructuralPartialEq for ExposeRunner
Auto Trait Implementations§
impl Freeze for ExposeRunner
impl RefUnwindSafe for ExposeRunner
impl Send for ExposeRunner
impl Sync for ExposeRunner
impl Unpin for ExposeRunner
impl UnwindSafe for ExposeRunner
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)