[−][src]Struct autopool::WorkerPoolConfig
Implementations
impl<In> WorkerPoolConfig<In>
[src]
pub fn new() -> Self
[src]
pub fn default_job(&mut self, job: In) -> &mut Self
[src]
pub fn target_workers(&mut self, n: usize) -> &mut Self
[src]
Trait Implementations
impl<In: Clone> Clone for WorkerPoolConfig<In>
[src]
fn clone(&self) -> WorkerPoolConfig<In>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<In: Copy> Copy for WorkerPoolConfig<In>
[src]
impl<In: Debug> Debug for WorkerPoolConfig<In>
[src]
impl<In> Default for WorkerPoolConfig<In>
[src]
Auto Trait Implementations
impl<In> RefUnwindSafe for WorkerPoolConfig<In> where
In: RefUnwindSafe,
In: RefUnwindSafe,
impl<In> Send for WorkerPoolConfig<In> where
In: Send,
In: Send,
impl<In> Sync for WorkerPoolConfig<In> where
In: Sync,
In: Sync,
impl<In> Unpin for WorkerPoolConfig<In> where
In: Unpin,
In: Unpin,
impl<In> UnwindSafe for WorkerPoolConfig<In> where
In: UnwindSafe,
In: UnwindSafe,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,