Enum thread_priority::Error
source · [−]Expand description
A error type
Variants
Priority(&'static str)
A value which describes why it is impossible to use such a priority.
OS(i32)
Target OS’ error type. In most systems it is an integer which later should be used with target OS’ API for understanding the value.
Ffi(&'static str)
FFI failure.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more