pub struct DefaultDiskWriter { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DiskWriter for DefaultDiskWriter
impl DiskWriter for DefaultDiskWriter
fn write<'life0, 'life1, 'async_trait>(
&'life0 mut self,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn finalize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for DefaultDiskWriter
impl !RefUnwindSafe for DefaultDiskWriter
impl !UnwindSafe for DefaultDiskWriter
impl Send for DefaultDiskWriter
impl Sync for DefaultDiskWriter
impl Unpin for DefaultDiskWriter
impl UnsafeUnpin for DefaultDiskWriter
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