Struct fidl_fuchsia_component_decl::Program
source · pub struct Program {
pub runner: Option<String>,
pub info: Option<Dictionary>,
/* private fields */
}
Expand description
A program declaration.
This declaration is set by executable components to designate the runner to use and pass runner-specific program information to it.
To learn more about runners, see: https://fuchsia.dev/fuchsia-src/glossary#runner
Fields§
§runner: Option<String>
The name of the runner to use to run the component. Must match a RunnerRegistration
in the
component’s environment. If this value is not supplied, the component must ‘use’ a runner.
If this value is supplied, the component may ‘use’ a runner, but it must be identical
(matching name, from environment).
info: Option<Dictionary>
(Required) Information about the program to run when the component is executed. The component manager provides the contents of this dictionary to the runner when executing this program.
For instance, this might contain a path to the program’s executable image, or program arguments.
- The keys represent namespaced properties, delimited by “.”.
- Properties may be nested in values, but only in the case of an object vector.
Trait Implementations§
source§impl<D: ResourceDialect> Decode<Program, D> for Program
impl<D: ResourceDialect> Decode<Program, D> for Program
source§impl PartialEq for Program
impl PartialEq for Program
source§impl TypeMarker for Program
impl TypeMarker for Program
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 Program
impl ValueTypeMarker for Program
impl Persistable for Program
impl StructuralPartialEq for Program
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
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
)