pub enum CargoArtifactError {
Io(Error),
Selection {
manifest: PathBuf,
count: usize,
},
}Expand description
Cargo’s nonempty set of outputs cannot identify one exact cdylib Wasm.
Variants§
Io(Error)
Preserve the original manifest-resolution failure.
Selection
Preserve the admitted manifest and number of distinct reported outputs.
Trait Implementations§
Source§impl Debug for CargoArtifactError
impl Debug for CargoArtifactError
Source§impl Display for CargoArtifactError
impl Display for CargoArtifactError
Source§impl Error for CargoArtifactError
impl Error for CargoArtifactError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for CargoArtifactError
impl !UnwindSafe for CargoArtifactError
impl Freeze for CargoArtifactError
impl Send for CargoArtifactError
impl Sync for CargoArtifactError
impl Unpin for CargoArtifactError
impl UnsafeUnpin for CargoArtifactError
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