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)>
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 PartialEq for InsufficientMetadata
impl PartialEq for InsufficientMetadata
impl Copy for InsufficientMetadata
impl Eq for InsufficientMetadata
impl StructuralPartialEq for InsufficientMetadata
Auto Trait Implementations§
impl Freeze for InsufficientMetadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)