pub struct ProgressNotificationGuard<R: Runtime> { /* private fields */ }Implementations§
Source§impl<R: Runtime> SyncProgressNotificationGuard<R>
impl<R: Runtime> SyncProgressNotificationGuard<R>
pub fn into_sync(self) -> SyncProgressNotificationGuard<R>
pub fn into_async(self) -> AsyncProgressNotificationGuard<R>
pub fn title(&self) -> Option<String>
pub fn text(&self) -> Option<String>
pub fn sub_text(&self) -> Option<String>
pub fn progress(&self) -> Option<u64>
pub fn progress_max(&self) -> Option<u64>
pub fn update_progress_by(&self, addend: u64) -> Result<()>
pub fn update_progress(&self, progress: Option<u64>) -> Result<()>
pub fn update_progress_max(&self, progress_max: Option<u64>) -> Result<()>
pub fn update_title(&self, title: Option<&str>) -> Result<()>
pub fn update_text(&self, text: Option<&str>) -> Result<()>
pub fn update_sub_text(&self, sub_text: Option<&str>) -> Result<()>
pub fn update( &self, title: Option<&str>, text: Option<&str>, sub_text: Option<&str>, progress: Option<u64>, progress_max: Option<u64>, ) -> Result<()>
pub fn set_drop_behavior_to_complete( &self, title: Option<&str>, text: Option<&str>, sub_text: Option<&str>, )
pub fn set_drop_behavior_to_fail( &self, title: Option<&str>, text: Option<&str>, sub_text: Option<&str>, )
pub fn complete( self, title: Option<&str>, text: Option<&str>, sub_text: Option<&str>, ) -> Result<()>
pub fn fail( self, title: Option<&str>, text: Option<&str>, sub_text: Option<&str>, ) -> Result<()>
Auto Trait Implementations§
impl<R> Freeze for SyncProgressNotificationGuard<R>
impl<R> RefUnwindSafe for SyncProgressNotificationGuard<R>
impl<R> Send for SyncProgressNotificationGuard<R>
impl<R> Sync for SyncProgressNotificationGuard<R>
impl<R> Unpin for SyncProgressNotificationGuard<R>
impl<R> UnsafeUnpin for SyncProgressNotificationGuard<R>
impl<R> UnwindSafe for SyncProgressNotificationGuard<R>
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