Struct wasmer_config::package::error::PackageParseError
source · pub struct PackageParseError {
value: String,
message: String,
}
Expand description
Error that occurs during package ident/source parsing.
Fields§
§value: String
§message: String
Implementations§
Trait Implementations§
source§impl Clone for PackageParseError
impl Clone for PackageParseError
source§fn clone(&self) -> PackageParseError
fn clone(&self) -> PackageParseError
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 PackageParseError
impl Debug for PackageParseError
source§impl Display for PackageParseError
impl Display for PackageParseError
source§impl Error for PackageParseError
impl Error for PackageParseError
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 PackageParseError
impl PartialEq for PackageParseError
source§fn eq(&self, other: &PackageParseError) -> bool
fn eq(&self, other: &PackageParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PackageParseError
impl StructuralPartialEq for PackageParseError
Auto Trait Implementations§
impl Freeze for PackageParseError
impl RefUnwindSafe for PackageParseError
impl Send for PackageParseError
impl Sync for PackageParseError
impl Unpin for PackageParseError
impl UnwindSafe for PackageParseError
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
)§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.