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_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_PKG_REPO_NOT_FOUND, 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

@addtogroup alpm_api_errors Error Codes @{

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_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_PKG_REPO_NOT_FOUND
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

Trait Implementations

impl Clone for _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]

Performs copy-assignment from source. Read more

impl Debug for _alpm_errno_t[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Hash for _alpm_errno_t[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl PartialEq<_alpm_errno_t> for _alpm_errno_t[src]

fn eq(&self, other: &_alpm_errno_t) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.