Struct rustic_backend::opendal::sftp::SftpBackend
source · pub struct SftpBackend(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for SftpBackend
impl Clone for SftpBackend
source§fn clone(&self) -> SftpBackend
fn clone(&self) -> SftpBackend
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SftpBackend
impl Debug for SftpBackend
source§impl ReadBackend for SftpBackend
impl ReadBackend for SftpBackend
source§fn list_with_size(&self, tpe: FileType) -> Result<Vec<(Id, u32)>>
fn list_with_size(&self, tpe: FileType) -> Result<Vec<(Id, u32)>>
Lists all files with their size of the given type. Read more
source§fn read_full(&self, tpe: FileType, id: &Id) -> Result<Bytes>
fn read_full(&self, tpe: FileType, id: &Id) -> Result<Bytes>
Reads full data of the given file. Read more
source§fn read_partial(
&self,
tpe: FileType,
id: &Id,
cacheable: bool,
offset: u32,
length: u32
) -> Result<Bytes>
fn read_partial( &self, tpe: FileType, id: &Id, cacheable: bool, offset: u32, length: u32 ) -> Result<Bytes>
Reads partial data of the given file. Read more
source§fn needs_warm_up(&self) -> bool
fn needs_warm_up(&self) -> bool
Specify if the backend needs a warming-up of files before accessing them.
source§impl WriteBackend for SftpBackend
impl WriteBackend for SftpBackend
Auto Trait Implementations§
impl !RefUnwindSafe for SftpBackend
impl Send for SftpBackend
impl Sync for SftpBackend
impl Unpin for SftpBackend
impl !UnwindSafe for SftpBackend
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