pub enum RemoteParseError {
Show 18 variants
EmptySpecification,
Whitespace,
MultipleSpecifications,
ControlCharacter,
MalformedPrefix,
MissingKind,
MissingHost,
MissingPayload,
InvalidAlias,
MissingRepository,
MissingPathComponent,
MissingReference,
MissingGitUrl,
InvalidUrl(ParseError),
MalformedBioconductorReference,
MalformedBioconductorCredentials,
MalformedBioconductorSource,
MalformedBioconductorPackage,
}Expand description
A remote parse reason. Variants never retain the remote source text.
Variants§
EmptySpecification
Empty entry.
Whitespace
Whitespace inside an entry.
MultipleSpecifications
A standalone parser received a comma.
ControlCharacter
Control character inside an entry.
MalformedPrefix
Malformed explicit prefix.
MissingKind
Missing explicit source kind.
MissingHost
Missing custom host.
MissingPayload
Missing source payload.
InvalidAlias
Invalid package alias.
MissingRepository
Missing hosted owner/repository pair.
MissingPathComponent
Empty hosted path component.
MissingReference
Reference delimiter without a reference.
MissingGitUrl
Missing Git URL.
InvalidUrl(ParseError)
Invalid absolute URL. url::ParseError contains no input text.
MalformedBioconductorReference
Malformed Bioconductor reference.
MalformedBioconductorCredentials
Malformed Bioconductor credentials.
MalformedBioconductorSource
Malformed release/package source.
MalformedBioconductorPackage
Malformed Bioconductor package.
Trait Implementations§
Source§impl Clone for RemoteParseError
impl Clone for RemoteParseError
Source§impl Debug for RemoteParseError
impl Debug for RemoteParseError
Source§impl Display for RemoteParseError
impl Display for RemoteParseError
impl Eq for RemoteParseError
Source§impl Error for RemoteParseError
impl Error for RemoteParseError
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 PartialEq for RemoteParseError
impl PartialEq for RemoteParseError
impl StructuralPartialEq for RemoteParseError
Auto Trait Implementations§
impl Freeze for RemoteParseError
impl RefUnwindSafe for RemoteParseError
impl Send for RemoteParseError
impl Sync for RemoteParseError
impl Unpin for RemoteParseError
impl UnsafeUnpin for RemoteParseError
impl UnwindSafe for RemoteParseError
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