Struct FuchsiaAsync
pub struct FuchsiaAsync;
Expand description
A type representing the current fuchsia-async executor.
Trait Implementations§
§impl Executor for FuchsiaAsync
impl Executor for FuchsiaAsync
§fn spawn<F>(
&self,
future: F,
) -> <FuchsiaAsync as Executor>::Task<<F as Future>::Output>
fn spawn<F>( &self, future: F, ) -> <FuchsiaAsync as Executor>::Task<<F as Future>::Output>
Spawns the given future on this executor, returning a
Task
for the
task.§fn detach<T>(&self, task: <FuchsiaAsync as Executor>::Task<T>)where
T: 'static,
fn detach<T>(&self, task: <FuchsiaAsync as Executor>::Task<T>)where
T: 'static,
Detaches the given task so that it can run independely in the
background.
impl RunsTransport<Channel> for FuchsiaAsync
Auto Trait Implementations§
impl Freeze for FuchsiaAsync
impl RefUnwindSafe for FuchsiaAsync
impl Send for FuchsiaAsync
impl Sync for FuchsiaAsync
impl Unpin for FuchsiaAsync
impl UnwindSafe for FuchsiaAsync
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