#[repr(C)]pub enum Error_type {
Invalid_task_identifier = 0,
Thread_not_registered = 1,
Thread_already_registered = 2,
Failed_to_create_thread = 3,
No_thread_for_task = 4,
Failed_to_spawn_thread = 5,
Poisoned_lock = 6,
Invalid_environment_variable = 7,
Too_many_tasks = 8,
Already_initialized = 9,
Not_initialized = 10,
}
Variants§
Invalid_task_identifier = 0
Thread_not_registered = 1
Thread_already_registered = 2
Failed_to_create_thread = 3
No_thread_for_task = 4
Failed_to_spawn_thread = 5
Poisoned_lock = 6
Invalid_environment_variable = 7
Too_many_tasks = 8
Already_initialized = 9
Not_initialized = 10
Trait Implementations§
Source§impl Clone for Error_type
impl Clone for Error_type
Source§fn clone(&self) -> Error_type
fn clone(&self) -> Error_type
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Error_type
impl Debug for Error_type
Source§impl Display for Error_type
impl Display for Error_type
Source§impl From<Error_type> for NonZeroU32
impl From<Error_type> for NonZeroU32
Source§fn from(Error: Error_type) -> Self
fn from(Error: Error_type) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for Error_type
impl<T> From<PoisonError<T>> for Error_type
Source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error_type
impl RefUnwindSafe for Error_type
impl Send for Error_type
impl Sync for Error_type
impl Unpin for Error_type
impl UnwindSafe for Error_type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more