pub struct ProcessLauncher;
Expand description
An implementation of the fuchsia.process.Launcher
protocol using the process_builder
crate.
Implementations§
Source§impl ProcessLauncher
impl ProcessLauncher
Sourcepub async fn serve(stream: LauncherRequestStream) -> Result<(), Error>
pub async fn serve(stream: LauncherRequestStream) -> Result<(), Error>
Serves an instance of the fuchsia.process.Launcher
protocol given an appropriate
RequestStream. Returns when the channel backing the RequestStream is closed or an
unrecoverable error, like a failure to read from the stream, occurs.
Auto Trait Implementations§
impl Freeze for ProcessLauncher
impl RefUnwindSafe for ProcessLauncher
impl Send for ProcessLauncher
impl Sync for ProcessLauncher
impl Unpin for ProcessLauncher
impl UnwindSafe for ProcessLauncher
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