pub enum InsufficientMetadata {
NoDeps,
VirtualWorkspace,
}
Expand description
Error returned by the conversion from
cargo_metadata::Metadata
Variants§
Trait Implementations§
source§impl Clone for InsufficientMetadata
impl Clone for InsufficientMetadata
source§fn clone(&self) -> InsufficientMetadata
fn clone(&self) -> InsufficientMetadata
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 InsufficientMetadata
impl Debug for InsufficientMetadata
source§impl Display for InsufficientMetadata
impl Display for InsufficientMetadata
source§impl Error for InsufficientMetadata
impl Error for InsufficientMetadata
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 for InsufficientMetadata
impl PartialEq for InsufficientMetadata
source§fn eq(&self, other: &InsufficientMetadata) -> bool
fn eq(&self, other: &InsufficientMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InsufficientMetadata
impl Eq for InsufficientMetadata
impl StructuralPartialEq for InsufficientMetadata
Auto Trait Implementations§
impl RefUnwindSafe for InsufficientMetadata
impl Send for InsufficientMetadata
impl Sync for InsufficientMetadata
impl Unpin for InsufficientMetadata
impl UnwindSafe for InsufficientMetadata
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.