pub enum Refreshed {
Unchanged,
Updated(PackageIndex),
}Available on crate feature
io only.Expand description
What ThunderstoreClient::refresh_if_stale found.
Variants§
Unchanged
The cached index is as new as the server’s, so nothing was downloaded.
Updated(PackageIndex)
The index was downloaded and cached.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Refreshed
impl Forget for Refreshed
impl Move for Refreshed
impl RefUnwindSafe for Refreshed
impl Send for Refreshed
impl Sync for Refreshed
impl Unpin for Refreshed
impl UnsafeUnpin for Refreshed
impl UnwindSafe for Refreshed
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