[−][src]Struct onedrive_api::CopyProgressMonitor
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
Methods
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]
&'_ self,
onedrive: &'_ OneDrive
) -> Result<CopyProgress>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CopyProgressMonitor
impl Send for CopyProgressMonitor
impl Sync for CopyProgressMonitor
impl Unpin for CopyProgressMonitor
impl UnwindSafe for CopyProgressMonitor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,