Struct auto_update2::AutoUpdater
source · pub struct AutoUpdater { /* private fields */ }
Implementations§
source§impl AutoUpdater
impl AutoUpdater
pub fn get(cx: &mut AppContext) -> Option<Model<Self>>
pub fn start_polling(&self, cx: &mut ModelContext<'_, Self>) -> Task<Result<()>>
pub fn poll(&mut self, cx: &mut ModelContext<'_, Self>)
pub fn status(&self) -> AutoUpdateStatus
pub fn dismiss_error(&mut self, cx: &mut ModelContext<'_, Self>)
Auto Trait Implementations§
impl !RefUnwindSafe for AutoUpdater
impl Send for AutoUpdater
impl Sync for AutoUpdater
impl Unpin for AutoUpdater
impl !UnwindSafe for AutoUpdater
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