Struct termusiclib::utils::DownloadTracker
source · pub struct DownloadTracker {
pub time_stamp_for_cache: Instant,
/* private fields */
}Fields§
§time_stamp_for_cache: InstantImplementations§
source§impl DownloadTracker
impl DownloadTracker
pub fn increase_one(&mut self, url: &str)
pub fn decrease_one(&mut self, url: &str)
pub fn contains(&self, url: &str) -> bool
pub fn visible(&self) -> bool
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn message_sync_success(&self) -> String
pub fn message_feeds_added(&self) -> String
pub fn message_feed_sync_failed(&self) -> String
pub fn message_sync_start(&self) -> String
pub fn message_download_start(&self, title: &str) -> String
pub fn message_download_complete(&self) -> String
pub fn message_download_error_response(&self, title: &str) -> String
pub fn message_download_error_file_create(&self, title: &str) -> String
pub fn message_download_error_file_write(&self, title: &str) -> String
pub fn message_download_error_embed_data(&self, title: &str) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DownloadTracker
impl RefUnwindSafe for DownloadTracker
impl Send for DownloadTracker
impl Sync for DownloadTracker
impl Unpin for DownloadTracker
impl UnwindSafe for DownloadTracker
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().