Struct fuchsia_async::SendExecutor
source · pub struct SendExecutor { /* private fields */ }
Expand description
A multi-threaded port-based executor for Fuchsia OS. Requires that tasks scheduled on it
implement Send
so they can be load balanced between worker threads.
Having a SendExecutor
in scope allows the creation and polling of zircon objects, such as
[fuchsia_async::Channel
].
§Panics
SendExecutor
will panic on drop if any zircon objects attached to it are still alive. In other
words, zircon objects backed by a SendExecutor
must be dropped before it.
Implementations§
Trait Implementations§
source§impl Debug for SendExecutor
impl Debug for SendExecutor
Auto Trait Implementations§
impl Freeze for SendExecutor
impl !RefUnwindSafe for SendExecutor
impl Send for SendExecutor
impl Sync for SendExecutor
impl Unpin for SendExecutor
impl !UnwindSafe for SendExecutor
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