Enum libimagref::error::error::RefErrorKind
[−]
pub enum RefErrorKind { StoreReadError, StoreWriteError, IOError, UTF8Error, StoreIdError, HeaderTomlError, HeaderTypeError, HeaderFieldMissingError, HeaderFieldWriteError, HeaderFieldReadError, HeaderFieldAlreadyExistsError, PathUTF8Error, PathHashingError, PathCanonicalizationError, TypeConversionError, RefToDisplayError, RefNotInStore, RefTargetDoesNotExist, RefTargetPermissionError, RefTargetCannotBeHashed, RefTargetFileCannotBeOpened, RefTargetCannotReadPermissions, RefHashingError, }
Variants
StoreReadError
StoreWriteError
IOError
UTF8Error
StoreIdError
HeaderTomlError
HeaderTypeError
HeaderFieldMissingError
HeaderFieldWriteError
HeaderFieldReadError
HeaderFieldAlreadyExistsError
PathUTF8Error
PathHashingError
PathCanonicalizationError
TypeConversionError
RefToDisplayError
RefNotInStore
RefTargetDoesNotExist
RefTargetPermissionError
RefTargetCannotBeHashed
RefTargetFileCannotBeOpened
RefTargetCannotReadPermissions
RefHashingError
Trait Implementations
impl Clone for RefErrorKind
fn clone(&self) -> RefErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for RefErrorKind
impl Debug for RefErrorKind
impl PartialEq for RefErrorKind
fn eq(&self, __arg_0: &RefErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Display for RefErrorKind
fn fmt(&self, fmt: &mut Formatter) -> Result<(), FmtError>
Formats the value using the given formatter. Read more
impl IntoError for RefErrorKind
type Target = RefError
fn into_error(self) -> Self::Target
Convert the type into an error with no cause
fn into_error_with_cause(self, cause: Box<Error>) -> Self::Target
Convert the type into an error with cause