pub enum InvalidRelease {
TooLong,
RestrictedName,
BadCharacters,
}
Expand description
An error indicating invalid releases.
Variants§
TooLong
The release name was too long
RestrictedName
Release name is restricted
BadCharacters
The release contained invalid characters
Trait Implementations§
source§impl Clone for InvalidRelease
impl Clone for InvalidRelease
source§fn clone(&self) -> InvalidRelease
fn clone(&self) -> InvalidRelease
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InvalidRelease
impl Debug for InvalidRelease
source§impl Display for InvalidRelease
impl Display for InvalidRelease
source§impl Error for InvalidRelease
impl Error for InvalidRelease
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<InvalidRelease> for InvalidRelease
impl PartialEq<InvalidRelease> for InvalidRelease
source§fn eq(&self, other: &InvalidRelease) -> bool
fn eq(&self, other: &InvalidRelease) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvalidRelease
Auto Trait Implementations§
impl RefUnwindSafe for InvalidRelease
impl Send for InvalidRelease
impl Sync for InvalidRelease
impl Unpin for InvalidRelease
impl UnwindSafe for InvalidRelease
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