pub enum WorkspaceGraphError {
DuplicatePackageId {
package: PackageId,
},
UnknownDependency {
package: PackageId,
dependency: PackageId,
},
DependencyCycle {
cycle: Vec<PackageId>,
},
CycleDetectionFailed,
}Expand description
Validation and ordering failures produced by WorkspaceGraph.
Variants§
Trait Implementations§
Source§impl Clone for WorkspaceGraphError
impl Clone for WorkspaceGraphError
Source§fn clone(&self) -> WorkspaceGraphError
fn clone(&self) -> WorkspaceGraphError
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 WorkspaceGraphError
impl Debug for WorkspaceGraphError
Source§impl Display for WorkspaceGraphError
impl Display for WorkspaceGraphError
impl Eq for WorkspaceGraphError
Source§impl Error for WorkspaceGraphError
impl Error for WorkspaceGraphError
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<WorkspaceGraphError> for DomainError
impl From<WorkspaceGraphError> for DomainError
Source§fn from(source: WorkspaceGraphError) -> Self
fn from(source: WorkspaceGraphError) -> Self
Converts to this type from the input type.
Source§impl From<WorkspaceGraphError> for ReleasePlannerError
impl From<WorkspaceGraphError> for ReleasePlannerError
Source§fn from(source: WorkspaceGraphError) -> Self
fn from(source: WorkspaceGraphError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorkspaceGraphError
impl PartialEq for WorkspaceGraphError
impl StructuralPartialEq for WorkspaceGraphError
Auto Trait Implementations§
impl Freeze for WorkspaceGraphError
impl RefUnwindSafe for WorkspaceGraphError
impl Send for WorkspaceGraphError
impl Sync for WorkspaceGraphError
impl Unpin for WorkspaceGraphError
impl UnsafeUnpin for WorkspaceGraphError
impl UnwindSafe for WorkspaceGraphError
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