pub struct ElfComponentLaunchInfo {
pub ns: Namespace,
pub handle_infos: Vec<HandleInfo>,
pub utc_clock: UtcClock,
pub lifecycle_client: Option<LifecycleProxy>,
pub outgoing_directory: Option<ClientEnd<DirectoryMarker>>,
pub local_scope: ExecutionScope,
}Expand description
Resources and data to launch a component, generated by ElfComponentLaunchInfo::new. This is
a public type so other runners may use it to assembly the launch info independently of
ElfRunner.
Fields§
§ns: Namespace§handle_infos: Vec<HandleInfo>§utc_clock: UtcClock§lifecycle_client: Option<LifecycleProxy>§outgoing_directory: Option<ClientEnd<DirectoryMarker>>§local_scope: ExecutionScopeImplementations§
Source§impl ElfComponentLaunchInfo
impl ElfComponentLaunchInfo
pub fn new( start_info: &mut StartInfo, program_config: &ElfProgramConfig, utc_clock: Option<&UtcClock>, ) -> Result<Self, StartComponentError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ElfComponentLaunchInfo
impl !RefUnwindSafe for ElfComponentLaunchInfo
impl Send for ElfComponentLaunchInfo
impl Sync for ElfComponentLaunchInfo
impl Unpin for ElfComponentLaunchInfo
impl !UnwindSafe for ElfComponentLaunchInfo
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]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