pub enum AssetEvent {
Started(String),
Progress(u64, u64),
Complete(String),
Error(String),
}Variants§
Started(String)
Starting resolution and download process
Progress(u64, u64)
Download progress in bytes (current, total)
Complete(String)
Successfully downloaded
Error(String)
Error during asset handling
Trait Implementations§
Source§impl Clone for AssetEvent
impl Clone for AssetEvent
Source§fn clone(&self) -> AssetEvent
fn clone(&self) -> AssetEvent
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 moreSource§impl Debug for AssetEvent
impl Debug for AssetEvent
Source§impl<'de> Deserialize<'de> for AssetEvent
impl<'de> Deserialize<'de> for AssetEvent
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
Auto Trait Implementations§
impl Freeze for AssetEvent
impl RefUnwindSafe for AssetEvent
impl Send for AssetEvent
impl Sync for AssetEvent
impl Unpin for AssetEvent
impl UnwindSafe for AssetEvent
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