pub enum DebianError {
Show 49 variants
FileManifestError(FileManifestError),
Url(ParseError),
Pgp(Error),
DateParse(MailParseError),
Reqwest(Error),
Io(Error),
ParseInt(ParseIntError),
ContentDigestBadHex(String, FromHexError),
ControlParseError(String),
ControlFileNoParagraph,
ControlFileNotFound,
ControlSimpleValueNoMultiline,
ControlRequiredFieldMissing(String),
ControlFieldIntParse(String, ParseIntError),
ControlFieldTimestampParse,
ControlPackageListMissingField(&'static str),
DebianSourceControlFileParagraphMismatch(usize),
DebUnknownBinaryPackageEntry(String),
DebUnknownCompression(String),
RepositoryReaderUnrecognizedUrl(String),
RepositoryWriterUnrecognizedUrl(String),
RepositoryReadReleaseNoKnownChecksum,
RepositoryReadContentsIndicesEntryNotFound,
RepositoryReadPackagesIndicesEntryNotFound,
RepositoryReadSourcesIndicesEntryNotFound,
RepositoryReadCouldNotDeterminePackageDigest,
RepositoryNoPackagesIndices(&'static str),
RepositoryIoPath(String, Error),
RepositoryBuildUnknownComponent(String),
RepositoryBuildUnknownArchitecture(String),
RepositoryBuildPoolLayoutImmutable,
RepositoryBuildDebNotAvailable(&'static str),
ReleaseControlParagraphMismatch(usize),
ReleaseMissingDigest,
ReleaseMissingSize,
ReleaseMissingPath,
ReleasePathWithSpaces(String),
ReleaseIndicesEntryWrongType,
ReleaseNoSignatures,
ReleaseNoSignaturesByKey,
ReleaseNoIndicesFiles,
DependencyParse(String),
UnknownBinaryDependencyField(String),
EpochNonNumeric(String),
UpstreamVersionIllegalChar(String),
DebianRevisionIllegalChar(String),
S3BadRegion(String),
SinkWriterVerifyBehaviorUnknown(String),
Other(String),
}Expand description
Primary crate error type.
Variants§
FileManifestError(FileManifestError)
Url(ParseError)
Pgp(Error)
DateParse(MailParseError)
Reqwest(Error)
Io(Error)
ParseInt(ParseIntError)
ContentDigestBadHex(String, FromHexError)
ControlParseError(String)
ControlFileNoParagraph
ControlFileNotFound
ControlSimpleValueNoMultiline
ControlRequiredFieldMissing(String)
ControlFieldIntParse(String, ParseIntError)
ControlFieldTimestampParse
ControlPackageListMissingField(&'static str)
DebianSourceControlFileParagraphMismatch(usize)
DebUnknownBinaryPackageEntry(String)
DebUnknownCompression(String)
RepositoryReaderUnrecognizedUrl(String)
RepositoryWriterUnrecognizedUrl(String)
RepositoryReadReleaseNoKnownChecksum
RepositoryReadContentsIndicesEntryNotFound
RepositoryReadPackagesIndicesEntryNotFound
RepositoryReadSourcesIndicesEntryNotFound
RepositoryReadCouldNotDeterminePackageDigest
RepositoryNoPackagesIndices(&'static str)
RepositoryIoPath(String, Error)
RepositoryBuildUnknownComponent(String)
RepositoryBuildUnknownArchitecture(String)
RepositoryBuildPoolLayoutImmutable
RepositoryBuildDebNotAvailable(&'static str)
ReleaseControlParagraphMismatch(usize)
ReleaseMissingDigest
ReleaseMissingSize
ReleaseMissingPath
ReleasePathWithSpaces(String)
ReleaseIndicesEntryWrongType
ReleaseNoSignatures
ReleaseNoSignaturesByKey
ReleaseNoIndicesFiles
DependencyParse(String)
UnknownBinaryDependencyField(String)
EpochNonNumeric(String)
UpstreamVersionIllegalChar(String)
DebianRevisionIllegalChar(String)
S3BadRegion(String)
SinkWriterVerifyBehaviorUnknown(String)
Other(String)
Trait Implementations§
Source§impl Debug for DebianError
impl Debug for DebianError
Source§impl Display for DebianError
impl Display for DebianError
Source§impl Error for DebianError
impl Error for DebianError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for DebianError
impl From<Error> for DebianError
Source§impl From<Error> for DebianError
impl From<Error> for DebianError
Source§impl From<Error> for DebianError
impl From<Error> for DebianError
Source§impl From<FileManifestError> for DebianError
impl From<FileManifestError> for DebianError
Source§fn from(source: FileManifestError) -> Self
fn from(source: FileManifestError) -> Self
Converts to this type from the input type.
Source§impl From<MailParseError> for DebianError
impl From<MailParseError> for DebianError
Source§fn from(source: MailParseError) -> Self
fn from(source: MailParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for DebianError
impl From<ParseError> for DebianError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for DebianError
impl From<ParseIntError> for DebianError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DebianError
impl !RefUnwindSafe for DebianError
impl Send for DebianError
impl Sync for DebianError
impl Unpin for DebianError
impl !UnwindSafe for DebianError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.