pub enum MarketplaceError {
InvalidMarketplaceId {
id: String,
},
InvalidPluginId {
id: String,
},
InvalidIdentityKey {
key: String,
},
DuplicateMarketplace {
id: String,
},
DuplicatePlugin {
marketplace_id: String,
plugin_id: String,
},
InvalidSource {
message: String,
},
UnsupportedSource {
message: String,
},
InvalidDefaultSelection {
selection: String,
},
Io {
message: String,
},
Parse {
message: String,
},
NotFound {
message: String,
},
}Variants§
InvalidMarketplaceId
InvalidPluginId
InvalidIdentityKey
DuplicateMarketplace
DuplicatePlugin
InvalidSource
UnsupportedSource
InvalidDefaultSelection
Io
Parse
NotFound
Trait Implementations§
Source§impl Clone for MarketplaceError
impl Clone for MarketplaceError
Source§fn clone(&self) -> MarketplaceError
fn clone(&self) -> MarketplaceError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MarketplaceError
impl Debug for MarketplaceError
Source§impl<'de> Deserialize<'de> for MarketplaceError
impl<'de> Deserialize<'de> for MarketplaceError
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 MarketplaceError
impl Display for MarketplaceError
impl Eq for MarketplaceError
Source§impl Error for MarketplaceError
impl Error for MarketplaceError
1.30.0 · 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 PartialEq for MarketplaceError
impl PartialEq for MarketplaceError
Source§fn eq(&self, other: &MarketplaceError) -> bool
fn eq(&self, other: &MarketplaceError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MarketplaceError
impl Serialize for MarketplaceError
impl StructuralPartialEq for MarketplaceError
Auto Trait Implementations§
impl Freeze for MarketplaceError
impl RefUnwindSafe for MarketplaceError
impl Send for MarketplaceError
impl Sync for MarketplaceError
impl Unpin for MarketplaceError
impl UnsafeUnpin for MarketplaceError
impl UnwindSafe for MarketplaceError
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.