Enum termusiclib::types::DLMsg
source · pub enum DLMsg {
DownloadRunning(String, String),
DownloadSuccess(String),
DownloadCompleted(String, Option<String>),
DownloadErrDownload(String, String, String),
DownloadErrEmbedData(String, String),
MessageShow((String, String)),
MessageHide((String, String)),
YoutubeSearchSuccess(YoutubeOptions),
YoutubeSearchFail(String),
FetchPhotoSuccess(ImageWrapper),
FetchPhotoErr(String),
}Variants§
DownloadRunning(String, String)
DownloadSuccess(String)
DownloadCompleted(String, Option<String>)
DownloadErrDownload(String, String, String)
DownloadErrEmbedData(String, String)
MessageShow((String, String))
MessageHide((String, String))
YoutubeSearchSuccess(YoutubeOptions)
YoutubeSearchFail(String)
FetchPhotoSuccess(ImageWrapper)
FetchPhotoErr(String)
Trait Implementations§
source§impl PartialEq for DLMsg
impl PartialEq for DLMsg
impl Eq for DLMsg
impl StructuralPartialEq for DLMsg
Auto Trait Implementations§
impl Freeze for DLMsg
impl !RefUnwindSafe for DLMsg
impl Send for DLMsg
impl Sync for DLMsg
impl Unpin for DLMsg
impl !UnwindSafe for DLMsg
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<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.