Enum alpm_sys_ll::_alpm_errno_t
source · [−]#[repr(u32)]
pub enum _alpm_errno_t {
Show 55 variants
ALPM_ERR_OK,
ALPM_ERR_MEMORY,
ALPM_ERR_SYSTEM,
ALPM_ERR_BADPERMS,
ALPM_ERR_NOT_A_FILE,
ALPM_ERR_NOT_A_DIR,
ALPM_ERR_WRONG_ARGS,
ALPM_ERR_DISK_SPACE,
ALPM_ERR_HANDLE_NULL,
ALPM_ERR_HANDLE_NOT_NULL,
ALPM_ERR_HANDLE_LOCK,
ALPM_ERR_DB_OPEN,
ALPM_ERR_DB_CREATE,
ALPM_ERR_DB_NULL,
ALPM_ERR_DB_NOT_NULL,
ALPM_ERR_DB_NOT_FOUND,
ALPM_ERR_DB_INVALID,
ALPM_ERR_DB_INVALID_SIG,
ALPM_ERR_DB_VERSION,
ALPM_ERR_DB_WRITE,
ALPM_ERR_DB_REMOVE,
ALPM_ERR_SERVER_BAD_URL,
ALPM_ERR_SERVER_NONE,
ALPM_ERR_TRANS_NOT_NULL,
ALPM_ERR_TRANS_NULL,
ALPM_ERR_TRANS_DUP_TARGET,
ALPM_ERR_TRANS_DUP_FILENAME,
ALPM_ERR_TRANS_NOT_INITIALIZED,
ALPM_ERR_TRANS_NOT_PREPARED,
ALPM_ERR_TRANS_ABORT,
ALPM_ERR_TRANS_TYPE,
ALPM_ERR_TRANS_NOT_LOCKED,
ALPM_ERR_TRANS_HOOK_FAILED,
ALPM_ERR_PKG_NOT_FOUND,
ALPM_ERR_PKG_IGNORED,
ALPM_ERR_PKG_INVALID,
ALPM_ERR_PKG_INVALID_CHECKSUM,
ALPM_ERR_PKG_INVALID_SIG,
ALPM_ERR_PKG_MISSING_SIG,
ALPM_ERR_PKG_OPEN,
ALPM_ERR_PKG_CANT_REMOVE,
ALPM_ERR_PKG_INVALID_NAME,
ALPM_ERR_PKG_INVALID_ARCH,
ALPM_ERR_SIG_MISSING,
ALPM_ERR_SIG_INVALID,
ALPM_ERR_UNSATISFIED_DEPS,
ALPM_ERR_CONFLICTING_DEPS,
ALPM_ERR_FILE_CONFLICTS,
ALPM_ERR_RETRIEVE,
ALPM_ERR_INVALID_REGEX,
ALPM_ERR_LIBARCHIVE,
ALPM_ERR_LIBCURL,
ALPM_ERR_EXTERNAL_DOWNLOAD,
ALPM_ERR_GPGME,
ALPM_ERR_MISSING_CAPABILITY_SIGNATURES,
}
Expand description
libalpm’s error type
Variants
ALPM_ERR_OK
No error
ALPM_ERR_MEMORY
Failed to allocate memory
ALPM_ERR_SYSTEM
A system error occurred
ALPM_ERR_BADPERMS
Permmision denied
ALPM_ERR_NOT_A_FILE
Should be a file
ALPM_ERR_NOT_A_DIR
Should be a directory
ALPM_ERR_WRONG_ARGS
Function was called with invalid arguments
ALPM_ERR_DISK_SPACE
Insufficient disk space
ALPM_ERR_HANDLE_NULL
Handle should be null
ALPM_ERR_HANDLE_NOT_NULL
Handle should not be null
ALPM_ERR_HANDLE_LOCK
Failed to acquire lock
ALPM_ERR_DB_OPEN
Failed to open database
ALPM_ERR_DB_CREATE
Failed to create database
ALPM_ERR_DB_NULL
Database should not be null
ALPM_ERR_DB_NOT_NULL
Database should be null
ALPM_ERR_DB_NOT_FOUND
The database could not be found
ALPM_ERR_DB_INVALID
Database is invalid
ALPM_ERR_DB_INVALID_SIG
Database has an invalid signature
ALPM_ERR_DB_VERSION
The localdb is in a newer/older format than libalpm expects
ALPM_ERR_DB_WRITE
Failed to write to the database
ALPM_ERR_DB_REMOVE
Failed to remove entry from database
ALPM_ERR_SERVER_BAD_URL
Server URL is in an invalid format
ALPM_ERR_SERVER_NONE
The database has no configured servers
ALPM_ERR_TRANS_NOT_NULL
A transaction is already initialized
ALPM_ERR_TRANS_NULL
A transaction has not been initialized
ALPM_ERR_TRANS_DUP_TARGET
Duplicate target in transaction
ALPM_ERR_TRANS_DUP_FILENAME
Duplicate filename in transaction
ALPM_ERR_TRANS_NOT_INITIALIZED
A transaction has not been initialized
ALPM_ERR_TRANS_NOT_PREPARED
Transaction has not been prepared
ALPM_ERR_TRANS_ABORT
Transaction was aborted
ALPM_ERR_TRANS_TYPE
Failed to interrupt transaction
ALPM_ERR_TRANS_NOT_LOCKED
Tried to commit transaction without locking the database
ALPM_ERR_TRANS_HOOK_FAILED
A hook failed to run
ALPM_ERR_PKG_NOT_FOUND
Package not found
ALPM_ERR_PKG_IGNORED
Package is in ignorepkg
ALPM_ERR_PKG_INVALID
Package is invalid
ALPM_ERR_PKG_INVALID_CHECKSUM
Package has an invalid checksum
ALPM_ERR_PKG_INVALID_SIG
Package has an invalid signature
ALPM_ERR_PKG_MISSING_SIG
Package does not have a signature
ALPM_ERR_PKG_OPEN
Cannot open the package file
ALPM_ERR_PKG_CANT_REMOVE
Failed to remove package files
ALPM_ERR_PKG_INVALID_NAME
Package has an invalid name
ALPM_ERR_PKG_INVALID_ARCH
Package has an invalid architecture
ALPM_ERR_SIG_MISSING
Signatures are missing
ALPM_ERR_SIG_INVALID
Signatures are invalid
ALPM_ERR_UNSATISFIED_DEPS
Dependencies could not be satisfied
ALPM_ERR_CONFLICTING_DEPS
Conflicting dependencies
ALPM_ERR_FILE_CONFLICTS
Files conflict
ALPM_ERR_RETRIEVE
Download failed
ALPM_ERR_INVALID_REGEX
Invalid Regex
ALPM_ERR_LIBARCHIVE
Error in libarchive
ALPM_ERR_LIBCURL
Error in libcurl
ALPM_ERR_EXTERNAL_DOWNLOAD
Error in external download program
ALPM_ERR_GPGME
Error in gpgme
ALPM_ERR_MISSING_CAPABILITY_SIGNATURES
Missing compile-time features
Trait Implementations
sourceimpl Clone for _alpm_errno_t
impl Clone for _alpm_errno_t
sourcefn clone(&self) -> _alpm_errno_t
fn clone(&self) -> _alpm_errno_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _alpm_errno_t
impl Debug for _alpm_errno_t
sourceimpl Hash for _alpm_errno_t
impl Hash for _alpm_errno_t
sourceimpl PartialEq<_alpm_errno_t> for _alpm_errno_t
impl PartialEq<_alpm_errno_t> for _alpm_errno_t
sourcefn eq(&self, other: &_alpm_errno_t) -> bool
fn eq(&self, other: &_alpm_errno_t) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for _alpm_errno_t
impl Eq for _alpm_errno_t
impl StructuralEq for _alpm_errno_t
impl StructuralPartialEq for _alpm_errno_t
Auto Trait Implementations
impl RefUnwindSafe for _alpm_errno_t
impl Send for _alpm_errno_t
impl Sync for _alpm_errno_t
impl Unpin for _alpm_errno_t
impl UnwindSafe for _alpm_errno_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more