pub enum ReleasePlanError {
DuplicatePackage {
package: PackageId,
},
MissingVersion {
package: PackageId,
},
VersionMismatch {
package: PackageId,
release: Version,
planned: Version,
},
DuplicateReason {
package: PackageId,
},
DuplicateOrderPackage {
package: PackageId,
},
OrderDoesNotMatchPackages,
DuplicateChangeset,
DuplicateFileEdit {
path: Utf8PathBuf,
},
}Variants§
DuplicatePackage
MissingVersion
VersionMismatch
DuplicateReason
DuplicateOrderPackage
OrderDoesNotMatchPackages
DuplicateChangeset
DuplicateFileEdit
Fields
§
path: Utf8PathBufTrait Implementations§
Source§impl Clone for ReleasePlanError
impl Clone for ReleasePlanError
Source§fn clone(&self) -> ReleasePlanError
fn clone(&self) -> ReleasePlanError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReleasePlanError
impl Debug for ReleasePlanError
Source§impl Display for ReleasePlanError
impl Display for ReleasePlanError
impl Eq for ReleasePlanError
Source§impl Error for ReleasePlanError
impl Error for ReleasePlanError
1.30.0 · 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<ReleasePlanError> for DomainError
impl From<ReleasePlanError> for DomainError
Source§fn from(source: ReleasePlanError) -> Self
fn from(source: ReleasePlanError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReleasePlanError
impl PartialEq for ReleasePlanError
impl StructuralPartialEq for ReleasePlanError
Auto Trait Implementations§
impl Freeze for ReleasePlanError
impl RefUnwindSafe for ReleasePlanError
impl Send for ReleasePlanError
impl Sync for ReleasePlanError
impl Unpin for ReleasePlanError
impl UnsafeUnpin for ReleasePlanError
impl UnwindSafe for ReleasePlanError
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