Enum BundleUpdateError
pub enum BundleUpdateError<E> {
Decode(AssetError),
Edit(AssetEditError),
Validation(E),
GenerationExhausted,
}Expand description
A rejected live update. The active bundle and generation remain unchanged.
E is the application’s validation error, often AssetLookupError.
Variants§
Trait Implementations§
§impl<E> Clone for BundleUpdateError<E>where
E: Clone,
impl<E> Clone for BundleUpdateError<E>where
E: Clone,
§fn clone(&self) -> BundleUpdateError<E>
fn clone(&self) -> BundleUpdateError<E>
Returns a duplicate 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 more§impl<E> Debug for BundleUpdateError<E>where
E: Debug,
impl<E> Debug for BundleUpdateError<E>where
E: Debug,
§impl<E> Display for BundleUpdateError<E>where
E: Display,
impl<E> Display for BundleUpdateError<E>where
E: Display,
§impl<E> Error for BundleUpdateError<E>where
E: Error + 'static,
impl<E> Error for BundleUpdateError<E>where
E: Error + 'static,
§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()
§impl<E> PartialEq for BundleUpdateError<E>where
E: PartialEq,
impl<E> PartialEq for BundleUpdateError<E>where
E: PartialEq,
impl<E> Eq for BundleUpdateError<E>where
E: Eq,
impl<E> StructuralPartialEq for BundleUpdateError<E>
Auto Trait Implementations§
impl<E> Freeze for BundleUpdateError<E>where
E: Freeze,
impl<E> RefUnwindSafe for BundleUpdateError<E>where
E: RefUnwindSafe,
impl<E> Send for BundleUpdateError<E>where
E: Send,
impl<E> Sync for BundleUpdateError<E>where
E: Sync,
impl<E> Unpin for BundleUpdateError<E>where
E: Unpin,
impl<E> UnwindSafe for BundleUpdateError<E>where
E: UnwindSafe,
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