pub enum ProjectResolveError {
Show 16 variants
Manifest {
path: PathBuf,
reason: String,
},
SourceInventory {
package: String,
reason: String,
},
SourceRead {
path: PathBuf,
reason: String,
},
MissingManifest {
package: String,
dependency: String,
path: PathBuf,
},
Cycle {
cycle: String,
},
GitAcquire {
package: String,
dependency: String,
reason: String,
},
ServerAcquire {
package: String,
dependency: String,
reason: String,
},
RegistryAcquire {
package: String,
reason: String,
},
UnsupportedSource {
kind: &'static str,
},
Version {
package: String,
dependency: String,
requirement: String,
target: String,
actual: String,
},
Invalid(String),
GitPolicy(GitPolicyError),
ServerPolicy(ServerPolicyError),
RegistryPolicy(RegistryPolicyError),
Graph(GraphError),
Lock(LockError),
}Variants§
Manifest
SourceInventory
SourceRead
MissingManifest
Cycle
GitAcquire
ServerAcquire
RegistryAcquire
UnsupportedSource
Version
Invalid(String)
GitPolicy(GitPolicyError)
ServerPolicy(ServerPolicyError)
RegistryPolicy(RegistryPolicyError)
Graph(GraphError)
Lock(LockError)
Trait Implementations§
Source§impl Debug for ProjectResolveError
impl Debug for ProjectResolveError
Source§impl Display for ProjectResolveError
impl Display for ProjectResolveError
Source§impl Error for ProjectResolveError
impl Error for ProjectResolveError
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<GitPolicyError> for ProjectResolveError
impl From<GitPolicyError> for ProjectResolveError
Source§fn from(source: GitPolicyError) -> Self
fn from(source: GitPolicyError) -> Self
Converts to this type from the input type.
Source§impl From<GraphError> for ProjectResolveError
impl From<GraphError> for ProjectResolveError
Source§fn from(source: GraphError) -> Self
fn from(source: GraphError) -> Self
Converts to this type from the input type.
Source§impl From<LockError> for ProjectResolveError
impl From<LockError> for ProjectResolveError
Source§impl From<RegistryPolicyError> for ProjectResolveError
impl From<RegistryPolicyError> for ProjectResolveError
Source§fn from(source: RegistryPolicyError) -> Self
fn from(source: RegistryPolicyError) -> Self
Converts to this type from the input type.
Source§impl From<ServerPolicyError> for ProjectResolveError
impl From<ServerPolicyError> for ProjectResolveError
Source§fn from(source: ServerPolicyError) -> Self
fn from(source: ServerPolicyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProjectResolveError
impl RefUnwindSafe for ProjectResolveError
impl Send for ProjectResolveError
impl Sync for ProjectResolveError
impl Unpin for ProjectResolveError
impl UnsafeUnpin for ProjectResolveError
impl UnwindSafe for ProjectResolveError
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