pub struct FuchsiaAsync;Expand description
A type representing the current fuchsia-async executor.
Trait Implementations§
Source§impl Executor for FuchsiaAsync
impl Executor for FuchsiaAsync
Source§type JoinHandle<T: 'static> = CancelableJoinHandle<T>
type JoinHandle<T: 'static> = CancelableJoinHandle<T>
A join handle which completes with the output of a future. Read more
Source§impl LocalExecutor for FuchsiaAsync
impl LocalExecutor for FuchsiaAsync
Source§fn spawn_local<F>(
&self,
future: F,
) -> <FuchsiaAsync as Executor>::JoinHandle<<F as Future>::Output>
fn spawn_local<F>( &self, future: F, ) -> <FuchsiaAsync as Executor>::JoinHandle<<F as Future>::Output>
Spawns the given non-
Send future on this executor, returning a
JoinHandle for the task.impl RunsTransport<Channel> for FuchsiaAsync
Available on crate feature
fasync only.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
Source§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
Source§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