pub enum PublishPackageFileError {
Send(String),
Receive(String),
Other(String),
}Variants§
Trait Implementations§
source§impl Clone for PublishPackageFileError
impl Clone for PublishPackageFileError
source§fn clone(&self) -> PublishPackageFileError
fn clone(&self) -> PublishPackageFileError
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 PublishPackageFileError
impl Debug for PublishPackageFileError
source§impl<'de> Deserialize<'de> for PublishPackageFileError
impl<'de> Deserialize<'de> for PublishPackageFileError
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 PublishPackageFileError
impl Display for PublishPackageFileError
source§impl Error for PublishPackageFileError
impl Error for PublishPackageFileError
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 PublishPackageFileError
impl Hash for PublishPackageFileError
source§impl Ord for PublishPackageFileError
impl Ord for PublishPackageFileError
source§fn cmp(&self, other: &PublishPackageFileError) -> Ordering
fn cmp(&self, other: &PublishPackageFileError) -> 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<PublishPackageFileError> for PublishPackageFileError
impl PartialEq<PublishPackageFileError> for PublishPackageFileError
source§fn eq(&self, other: &PublishPackageFileError) -> bool
fn eq(&self, other: &PublishPackageFileError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<PublishPackageFileError> for PublishPackageFileError
impl PartialOrd<PublishPackageFileError> for PublishPackageFileError
source§fn partial_cmp(&self, other: &PublishPackageFileError) -> Option<Ordering>
fn partial_cmp(&self, other: &PublishPackageFileError) -> 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 PublishPackageFileError
impl Serialize for PublishPackageFileError
impl Eq for PublishPackageFileError
impl StructuralEq for PublishPackageFileError
impl StructuralPartialEq for PublishPackageFileError
Auto Trait Implementations§
impl RefUnwindSafe for PublishPackageFileError
impl Send for PublishPackageFileError
impl Sync for PublishPackageFileError
impl Unpin for PublishPackageFileError
impl UnwindSafe for PublishPackageFileError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.