#[non_exhaustive]pub enum BundleExpansionError {
Unknown(BundleName),
Store(StoreError),
}Expand description
Why an expansion failed.
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.
Unknown(BundleName)
A grant referenced a bundle name with no entry in the store. Surfaces a stale grant: the bundle was deleted but the grant wasn’t cleaned up.
Store(StoreError)
The backing store failed.
Trait Implementations§
Source§impl Debug for BundleExpansionError
impl Debug for BundleExpansionError
Source§impl Display for BundleExpansionError
impl Display for BundleExpansionError
Source§impl Error for BundleExpansionError
impl Error for BundleExpansionError
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<BundleExpansionError> for McpMintError
impl From<BundleExpansionError> for McpMintError
Source§fn from(source: BundleExpansionError) -> Self
fn from(source: BundleExpansionError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for BundleExpansionError
impl From<StoreError> for BundleExpansionError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BundleExpansionError
impl RefUnwindSafe for BundleExpansionError
impl Send for BundleExpansionError
impl Sync for BundleExpansionError
impl Unpin for BundleExpansionError
impl UnsafeUnpin for BundleExpansionError
impl UnwindSafe for BundleExpansionError
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