#[repr(C)]pub enum Error_type {
Duplicate_group_identifier = 0,
Duplicate_group_name = 1,
Duplicate_user_identifier = 2,
Duplicate_user_name = 3,
Invalid_group_identifier = 4,
Invalid_user_identifier = 5,
Too_many_groups = 6,
Too_many_users = 7,
Poisoned_lock = 8,
Not_initialized = 9,
Already_initialized = 10,
}
Variants§
Duplicate_group_identifier = 0
Duplicate_group_name = 1
Duplicate_user_identifier = 2
Duplicate_user_name = 3
Invalid_group_identifier = 4
Invalid_user_identifier = 5
Too_many_groups = 6
Too_many_users = 7
Poisoned_lock = 8
Not_initialized = 9
Already_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<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