Enum alpm_sys::alpm_errno_t [−][src]
#[repr(u32)]
pub enum alpm_errno_t {
Show 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
No error
Failed to allocate memory
A system error occurred
Permmision denied
Should be a file
Should be a directory
Function was called with invalid arguments
Insufficient disk space
Handle should be null
Handle should not be null
Failed to acquire lock
Failed to open database
Failed to create database
Database should not be null
Database should be null
The database could not be found
Database is invalid
Database has an invalid signature
The localdb is in a newer/older format than libalpm expects
Failed to write to the database
Failed to remove entry from database
Server URL is in an invalid format
The database has no configured servers
A transaction is already initialized
A transaction has not been initialized
Duplicate target in transaction
Duplicate filename in transaction
A transaction has not been initialized
Transaction has not been prepared
Transaction was aborted
Failed to interrupt transaction
Tried to commit transaction without locking the database
A hook failed to run
Package not found
Package is in ignorepkg
Package is invalid
Package has an invalid checksum
Package has an invalid signature
Package does not have a signature
Cannot open the package file
Failed to remove package files
Package has an invalid name
Package has an invalid architecture
Signatures are missing
Signatures are invalid
Dependencies could not be satisfied
Conflicting dependencies
Files conflict
Download failed
Invalid Regex
Error in libarchive
Error in libcurl
Error in external download program
Error in gpgme
Missing compile-time features
Trait Implementations
impl Clone for _alpm_errno_t[src]
impl Clone for _alpm_errno_t[src]fn clone(&self) -> _alpm_errno_t[src]
fn clone(&self) -> _alpm_errno_t[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for _alpm_errno_t[src]
impl Debug for _alpm_errno_t[src]impl Hash for _alpm_errno_t[src]
impl Hash for _alpm_errno_t[src]impl PartialEq<_alpm_errno_t> for _alpm_errno_t[src]
impl PartialEq<_alpm_errno_t> for _alpm_errno_t[src]impl Copy for _alpm_errno_t[src]
impl Eq for _alpm_errno_t[src]
impl StructuralEq for _alpm_errno_t[src]
impl StructuralPartialEq for _alpm_errno_t[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more