pub enum GetPackageFileError {
Send(String),
Receive(String),
Other(String),
}Variants§
Trait Implementations§
source§impl Clone for GetPackageFileError
impl Clone for GetPackageFileError
source§fn clone(&self) -> GetPackageFileError
fn clone(&self) -> GetPackageFileError
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 GetPackageFileError
impl Debug for GetPackageFileError
source§impl<'de> Deserialize<'de> for GetPackageFileError
impl<'de> Deserialize<'de> for GetPackageFileError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for GetPackageFileError
impl Display for GetPackageFileError
source§impl Error for GetPackageFileError
impl Error for GetPackageFileError
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 Hash for GetPackageFileError
impl Hash for GetPackageFileError
source§impl Ord for GetPackageFileError
impl Ord for GetPackageFileError
source§fn cmp(&self, other: &GetPackageFileError) -> Ordering
fn cmp(&self, other: &GetPackageFileError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GetPackageFileError
impl PartialEq for GetPackageFileError
source§fn eq(&self, other: &GetPackageFileError) -> bool
fn eq(&self, other: &GetPackageFileError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GetPackageFileError
impl PartialOrd for GetPackageFileError
source§fn partial_cmp(&self, other: &GetPackageFileError) -> Option<Ordering>
fn partial_cmp(&self, other: &GetPackageFileError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for GetPackageFileError
impl Serialize for GetPackageFileError
impl Eq for GetPackageFileError
impl StructuralEq for GetPackageFileError
impl StructuralPartialEq for GetPackageFileError
Auto Trait Implementations§
impl RefUnwindSafe for GetPackageFileError
impl Send for GetPackageFileError
impl Sync for GetPackageFileError
impl Unpin for GetPackageFileError
impl UnwindSafe for GetPackageFileError
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.