pub struct RemoteFileAccessor { /* private fields */ }Expand description
Remote file accessor for WSS-synced data
Implementations§
Trait Implementations§
Source§impl FileAccessor for RemoteFileAccessor
impl FileAccessor for RemoteFileAccessor
Source§fn read_bytes<'life0, 'async_trait>(
&'life0 self,
offset: u64,
size: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_bytes<'life0, 'async_trait>(
&'life0 self,
offset: u64,
size: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Read bytes from the file
Source§fn write_bytes<'life0, 'life1, 'async_trait>(
&'life0 self,
offset: u64,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_bytes<'life0, 'life1, 'async_trait>(
&'life0 self,
offset: u64,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Write bytes to the file
Auto Trait Implementations§
impl Freeze for RemoteFileAccessor
impl !RefUnwindSafe for RemoteFileAccessor
impl Send for RemoteFileAccessor
impl Sync for RemoteFileAccessor
impl Unpin for RemoteFileAccessor
impl UnsafeUnpin for RemoteFileAccessor
impl !UnwindSafe for RemoteFileAccessor
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