pub struct PCloudStoreFile { /* private fields */ }
Expand description
A file in the pCloud file store.
Trait Implementations§
Source§impl Debug for PCloudStoreFile
impl Debug for PCloudStoreFile
Source§impl From<PCloudStoreFile> for AnyStoreFile
impl From<PCloudStoreFile> for AnyStoreFile
Source§fn from(value: PCloudStoreFile) -> Self
fn from(value: PCloudStoreFile) -> Self
Converts to this type from the input type.
Source§impl StoreFile for PCloudStoreFile
impl StoreFile for PCloudStoreFile
Source§async fn metadata(&self) -> Result<Self::Metadata>
async fn metadata(&self) -> Result<Self::Metadata>
Retrieves metadata about the file (size, creation, and modification times).
Source§async fn read<R: RangeBounds<u64>>(&self, range: R) -> Result<Self::FileReader>
async fn read<R: RangeBounds<u64>>(&self, range: R) -> Result<Self::FileReader>
Reads a byte range of the file content using a download link from pCloud.
Source§async fn write(&self, options: WriteOptions) -> Result<Self::FileWriter>
async fn write(&self, options: WriteOptions) -> Result<Self::FileWriter>
Creates a writer to a file in pcloud
Source§type FileReader = HttpStoreFileReader
type FileReader = HttpStoreFileReader
Associated type for the reader that reads the file’s content.
Source§type FileWriter = PCloudStoreFileWriter
type FileWriter = PCloudStoreFileWriter
Associated type for the reader that reads the file’s content.
Source§type Metadata = PCloudStoreFileMetadata
type Metadata = PCloudStoreFileMetadata
Associated type for the metadata associated with the file.
Auto Trait Implementations§
impl Freeze for PCloudStoreFile
impl !RefUnwindSafe for PCloudStoreFile
impl Send for PCloudStoreFile
impl Sync for PCloudStoreFile
impl Unpin for PCloudStoreFile
impl !UnwindSafe for PCloudStoreFile
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