pub struct TrackChangeFetcher { /* private fields */ }
Expand description
The page fetcher for tracking operations with Iterator
interface.
§See also
Implementations§
Source§impl TrackChangeFetcher
impl TrackChangeFetcher
Sourcepub fn resume_from(next_url: impl Into<String>) -> Self
pub fn resume_from(next_url: impl Into<String>) -> Self
Resume a fetching process from url.
The url should be from TrackChangeFetcher::next_url
.
Sourcepub fn next_url(&self) -> Option<&str>
pub fn next_url(&self) -> Option<&str>
Try to get the url to the next page.
Used for resuming the fetching progress.
§Error
Will success only if there are more pages and the first page is already read.
§Note
The first page data from
OneDrive::track_changes_from_initial_with_option
will be cached and have no idempotent url to resume/re-fetch.
Sourcepub fn delta_url(&self) -> Option<&str>
pub fn delta_url(&self) -> Option<&str>
Try to the delta url representing a snapshot of current track change operation.
Used for tracking changes from this snapshot (rather than initial) later,
using OneDrive::track_changes_from_delta_url
.
§Error
Will success only if there are no more pages.
§See also
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrackChangeFetcher
impl RefUnwindSafe for TrackChangeFetcher
impl Send for TrackChangeFetcher
impl Sync for TrackChangeFetcher
impl Unpin for TrackChangeFetcher
impl UnwindSafe for TrackChangeFetcher
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