Enum task_queue::error::TaskQueueError
[−]
[src]
pub enum TaskQueueError { IllegalStartThreads { min: usize, max: usize, }, Io(Error), IllegalPolicyThreads { min: usize, max: usize, count: usize, }, }
Variants
IllegalStartThreads
Fields of IllegalStartThreads
min: usize | |
max: usize |
Io(Error)
IllegalPolicyThreads
Fields of IllegalPolicyThreads
min: usize | |
max: usize | |
count: usize |
Methods
impl TaskQueueError
[src]
fn illegal_start_threads(min: usize, max: usize) -> TaskQueueError
fn illegal_policy_threads(
min: usize,
max: usize,
count: usize
) -> TaskQueueError
min: usize,
max: usize,
count: usize
) -> TaskQueueError
Trait Implementations
impl Debug for TaskQueueError
[src]
impl Error for TaskQueueError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for TaskQueueError
[src]
impl From<Error> for TaskQueueError
[src]
fn from(err: Error) -> TaskQueueError
Performs the conversion.