pub enum RepositoryError {
InvalidFormat,
InvalidUri,
MissingUri,
InvalidType,
InvalidSignature,
Lossy(Error),
Lossless(Error),
Io(Error),
}
Expand description
Errors for APT sources parsing and conversion to Repository
Variants§
InvalidFormat
Invalid repository format
InvalidUri
Invalid repository URI
MissingUri
Missing repository URI - mandatory
InvalidType
Unrecognized repository type
InvalidSignature
The Signed-By
field is incorrect
Lossy(Error)
Errors in lossy serializer or deserializer
Lossless(Error)
Errors in lossless parser
Io(Error)
I/O Error
Trait Implementations§
Source§impl Debug for RepositoryError
impl Debug for RepositoryError
Source§impl Display for RepositoryError
impl Display for RepositoryError
Auto Trait Implementations§
impl Freeze for RepositoryError
impl !RefUnwindSafe for RepositoryError
impl Send for RepositoryError
impl Sync for RepositoryError
impl Unpin for RepositoryError
impl !UnwindSafe for RepositoryError
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