pub struct SyncCollection { /* private fields */ }Expand description
Coroutine that runs a sync-collection REPORT (RFC 6578 §3.2) and
returns the parsed SyncDelta.
Implementations§
Source§impl SyncCollection
impl SyncCollection
Sourcepub fn new(
base_url: &Url,
auth: &WebdavAuth,
user_agent: &str,
path: &str,
sync_token: Option<&str>,
props: &[Property],
) -> Self
pub fn new( base_url: &Url, auth: &WebdavAuth, user_agent: &str, path: &str, sync_token: Option<&str>, props: &[Property], ) -> Self
Builds a new sync-collection coroutine against the collection
at path, requesting props on each changed member. Pass
None as sync_token for an initial sync. The Depth header
is pinned to 0 as required by RFC 6578 §3.3; the scope is
carried by the sync-level element instead.
Trait Implementations§
Source§impl Debug for SyncCollection
impl Debug for SyncCollection
Source§impl WebdavCoroutine for SyncCollection
impl WebdavCoroutine for SyncCollection
Source§type Yield = WebdavYield
type Yield = WebdavYield
Intermediate value handed back on every step.
Auto Trait Implementations§
impl Freeze for SyncCollection
impl RefUnwindSafe for SyncCollection
impl Send for SyncCollection
impl Sync for SyncCollection
impl Unpin for SyncCollection
impl UnsafeUnpin for SyncCollection
impl UnwindSafe for SyncCollection
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