pub struct CopyProgressMonitor { /* private fields */ }
Expand description
Implementations§
Source§impl CopyProgressMonitor
impl CopyProgressMonitor
Sourcepub fn from_monitor_url(monitor_url: impl Into<String>) -> Self
pub fn from_monitor_url(monitor_url: impl Into<String>) -> Self
Make a progress monitor using existing monitor_url
.
monitor_url
should be got from CopyProgressMonitor::monitor_url
Sourcepub fn monitor_url(&self) -> &str
pub fn monitor_url(&self) -> &str
Get the monitor url.
Sourcepub async fn fetch_progress(&self, onedrive: &OneDrive) -> Result<CopyProgress>
pub async fn fetch_progress(&self, onedrive: &OneDrive) -> Result<CopyProgress>
Trait Implementations§
Source§impl Clone for CopyProgressMonitor
impl Clone for CopyProgressMonitor
Source§fn clone(&self) -> CopyProgressMonitor
fn clone(&self) -> CopyProgressMonitor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CopyProgressMonitor
impl RefUnwindSafe for CopyProgressMonitor
impl Send for CopyProgressMonitor
impl Sync for CopyProgressMonitor
impl Unpin for CopyProgressMonitor
impl UnwindSafe for CopyProgressMonitor
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