pub struct WebDavFolder { /* private fields */ }Expand description
A WebDAV folder whose files retain their original HTTP playback references.
Implementations§
Source§impl WebDavFolder
impl WebDavFolder
Sourcepub fn new(address: &str, client: HttpClientRef) -> Result<Self, ContentError>
pub fn new(address: &str, client: HttpClientRef) -> Result<Self, ContentError>
Opens a folder address through the supplied HTTP client. No request is sent yet.
Sourcepub fn handle(self) -> ContentFolderRef
pub fn handle(self) -> ContentFolderRef
Converts this folder to the shared content interface.
Trait Implementations§
Source§impl ContentFolder for WebDavFolder
impl ContentFolder for WebDavFolder
Source§fn metadata(&self) -> ContentMetadata
fn metadata(&self) -> ContentMetadata
What the provider states about this folder.
Source§fn entries(&self) -> ContentFuture<'_, Result<Vec<ContentEntry>, ContentError>>
fn entries(&self) -> ContentFuture<'_, Result<Vec<ContentEntry>, ContentError>>
The immediate children.
Source§fn stream_files(&self) -> Option<ContentStreamRef>
fn stream_files(&self) -> Option<ContentStreamRef>
A provider-native stream over every file in the tree, when the provider
discovers files incrementally. Providers that enumerate eagerly return
None and folder_files walks them instead.Auto Trait Implementations§
impl !RefUnwindSafe for WebDavFolder
impl !UnwindSafe for WebDavFolder
impl Freeze for WebDavFolder
impl Send for WebDavFolder
impl Sync for WebDavFolder
impl Unpin for WebDavFolder
impl UnsafeUnpin for WebDavFolder
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