#[repr(u8)]pub enum Error_type {
Show 13 variants
Invalid_reference = 0,
Already_initialized = 1,
Failed_to_create_thread = 2,
Not_initialized = 3,
Out_of_memory = 4,
Already_in_use = 5,
Poisoned_lock = 6,
Failed_to_register = 7,
Failed_to_get_resolution = 8,
Not_registered = 9,
Not_available = 10,
Failed_to_create_object = 11,
Invalid_window_identifier = 12,
}
Variants§
Invalid_reference = 0
Already_initialized = 1
Failed_to_create_thread = 2
Not_initialized = 3
Out_of_memory = 4
Already_in_use = 5
Poisoned_lock = 6
Failed_to_register = 7
Failed_to_get_resolution = 8
Not_registered = 9
Not_available = 10
Failed_to_create_object = 11
Invalid_window_identifier = 12
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 Error_type
impl From<Error_type> for Error_type
Source§fn from(_: Error_type) -> Self
fn from(_: 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.
Source§impl PartialEq for Error_type
impl PartialEq for Error_type
impl Copy for Error_type
impl Eq for Error_type
impl StructuralPartialEq for Error_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