[−][src]Struct bach::executor::Executor
Implementations
impl<E: Environment> Executor<E>
[src]
pub fn new(environment: E, queue_size: Option<usize>) -> Self
[src]
pub fn spawn<F, Output>(&mut self, future: F) -> JoinHandle<Output>ⓘNotable traits for JoinHandle<O>
impl<O> Future for JoinHandle<O> type Output = O;
where
F: Future<Output = Output> + Send + 'static,
Output: Send + 'static,
[src]
Notable traits for JoinHandle<O>
impl<O> Future for JoinHandle<O> type Output = O;
F: Future<Output = Output> + Send + 'static,
Output: Send + 'static,
pub fn tick(&mut self) -> Poll<()>
[src]
pub fn environment(&mut self) -> &mut E
[src]
Auto Trait Implementations
impl<Environment> !RefUnwindSafe for Executor<Environment>
impl<Environment> Send for Executor<Environment> where
Environment: Send,
Environment: Send,
impl<Environment> Sync for Executor<Environment> where
Environment: Sync,
Environment: Sync,
impl<Environment> Unpin for Executor<Environment> where
Environment: Unpin,
Environment: Unpin,
impl<Environment> !UnwindSafe for Executor<Environment>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,