[−][src]Struct autopool::Job
Fields
task: In
close: Receiver<()>
results: Sender<Out>
Implementations
impl<In, Out> Job<In, Out>
[src]
pub fn new(task: In, close: Receiver<()>, results: Sender<Out>) -> Self
[src]
pub fn stop_requested(&self) -> bool
[src]
Auto Trait Implementations
impl<In, Out> !RefUnwindSafe for Job<In, Out>
impl<In, Out> Send for Job<In, Out> where
In: Send,
Out: Send,
In: Send,
Out: Send,
impl<In, Out> Sync for Job<In, Out> where
In: Sync,
Out: Send,
In: Sync,
Out: Send,
impl<In, Out> Unpin for Job<In, Out> where
In: Unpin,
In: Unpin,
impl<In, Out> !UnwindSafe for Job<In, Out>
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,
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.
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>,