Struct onedrive_api::CopyProgressMonitor [−][src]
pub struct CopyProgressMonitor { /* fields omitted */ }The monitor for checking the progress of a asynchronous copy operation.
Notes
This struct is always present. But since retrieving copy progress requires beta API,
it is useless due to the lack of method fetch_progress if feature beta is not enabled.
See also
Implementations
impl CopyProgressMonitor[src]
impl CopyProgressMonitor[src]pub fn from_monitor_url(monitor_url: String) -> Self[src]
Make a progress monitor using existing monitor_url.
monitor_url should be got from CopyProgressMonitor::monitor_url
pub fn monitor_url(&self) -> &str[src]
Get the monitor url.
pub async fn fetch_progress(&self, onedrive: &OneDrive) -> Result<CopyProgress>[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CopyProgressMonitor
impl RefUnwindSafe for CopyProgressMonitorimpl Send for CopyProgressMonitor
impl Send for CopyProgressMonitorimpl Sync for CopyProgressMonitor
impl Sync for CopyProgressMonitorimpl Unpin for CopyProgressMonitor
impl Unpin for CopyProgressMonitorimpl UnwindSafe for CopyProgressMonitor
impl UnwindSafe for CopyProgressMonitorBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]