#[non_exhaustive]pub enum PackagePublishError {
ManifestNotFound(PathBuf),
ManifestRead(Error),
ManifestParse(Error),
PackageBuild(WasmerPackageError),
Api(Error),
Other(Box<dyn Error + Send + Sync>),
}
Expand description
Errors that may occur during package publishing.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ManifestNotFound(PathBuf)
ManifestRead(Error)
ManifestParse(Error)
PackageBuild(WasmerPackageError)
Api(Error)
Other(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Debug for PackagePublishError
impl Debug for PackagePublishError
Source§impl Display for PackagePublishError
impl Display for PackagePublishError
Source§impl Error for PackagePublishError
impl Error for PackagePublishError
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<Error> for PackagePublishError
impl From<Error> for PackagePublishError
Source§impl From<Error> for PackagePublishError
impl From<Error> for PackagePublishError
Source§impl From<Error> for PackagePublishError
impl From<Error> for PackagePublishError
Source§impl From<PackagePublishError> for DeployError
impl From<PackagePublishError> for DeployError
Source§fn from(source: PackagePublishError) -> Self
fn from(source: PackagePublishError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for PackagePublishError
impl !RefUnwindSafe for PackagePublishError
impl Send for PackagePublishError
impl Sync for PackagePublishError
impl Unpin for PackagePublishError
impl !UnwindSafe for PackagePublishError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.