#[repr(C)]pub enum Error_type {
Show 41 variants
Failed_to_initialize_file_system = 1,
Permission_denied = 2,
Not_found = 3,
Already_exists = 4,
Directory_already_exists = 5,
File_system_full = 6,
File_system_error = 7,
Invalid_path = 8,
Invalid_file = 9,
Invalid_directory = 10,
Invalid_symbolic_link = 11,
Unknown = 12,
Invalid_identifier = 13,
Failed_to_get_task_informations = 14,
Failed_to_get_users_informations = 15,
Too_many_mounted_file_systems = 16,
Poisoned_lock = 17,
Too_many_open_files = 18,
Internal_error = 19,
Invalid_mode = 20,
Unsupported_operation = 21,
Ressource_busy = 22,
Already_initialized = 23,
Not_initialized = 24,
Failed_to_get_users_manager_instance = 25,
Failed_to_get_task_manager_instance = 26,
Invalid_parameter = 27,
Invalid_flags = 28,
Not_directory = 29,
Is_directory = 30,
Input_output = 31,
Directory_not_empty = 32,
File_too_large = 33,
No_attribute = 34,
Name_too_long = 35,
Corrupted = 36,
No_memory = 37,
No_space_left = 38,
Time_error = 39,
Invalid_inode = 40,
Other = 41,
}
Variants§
Failed_to_initialize_file_system = 1
Permission_denied = 2
Not_found = 3
Already_exists = 4
Directory_already_exists = 5
File_system_full = 6
File_system_error = 7
Invalid_path = 8
Invalid_file = 9
Invalid_directory = 10
Invalid_symbolic_link = 11
Unknown = 12
Invalid_identifier = 13
Failed_to_get_task_informations = 14
Failed_to_get_users_informations = 15
Too_many_mounted_file_systems = 16
Poisoned_lock = 17
Too_many_open_files = 18
Internal_error = 19
Invalid_mode = 20
Unsupported_operation = 21
Ressource_busy = 22
Already_initialized = 23
Not_initialized = 24
Failed_to_get_users_manager_instance = 25
Failed_to_get_task_manager_instance = 26
Invalid_parameter = 27
Invalid_flags = 28
Not_directory = 29
Is_directory = 30
Input_output = 31
Directory_not_empty = 32
File_too_large = 33
No_attribute = 34
Name_too_long = 35
Corrupted = 36
No_memory = 37
No_space_left = 38
Time_error = 39
Invalid_inode = 40
Other = 41
Implementations§
Source§impl Error_type
impl Error_type
pub fn Get_discriminant(&self) -> NonZeroU32
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> for Error_type
impl From<Error> for Error_type
Source§impl From<ErrorKind> for Error_type
impl From<ErrorKind> 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 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 From<Error_type> for Error_type
impl From<Error_type> for Error_type
Source§fn from(Error: Error_type) -> Self
fn from(Error: Error_type) -> Self
Converts to this type from the input 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.
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