pub struct BlockWriter<W: BlockWrite> { /* private fields */ }Expand description
BlockWriter will implement oio::Write based on block
uploads.
Implementations§
Source§impl<W: BlockWrite> BlockWriter<W>
impl<W: BlockWrite> BlockWriter<W>
Sourcepub fn new(info: Arc<AccessorInfo>, inner: W, concurrent: usize) -> Self
pub fn new(info: Arc<AccessorInfo>, inner: W, concurrent: usize) -> Self
Create a new BlockWriter.
Trait Implementations§
Source§impl<W> Write for BlockWriter<W>where
W: BlockWrite,
impl<W> Write for BlockWriter<W>where
W: BlockWrite,
Auto Trait Implementations§
impl<W> !Freeze for BlockWriter<W>
impl<W> !RefUnwindSafe for BlockWriter<W>
impl<W> Send for BlockWriter<W>
impl<W> Sync for BlockWriter<W>
impl<W> Unpin for BlockWriter<W>
impl<W> !UnwindSafe for BlockWriter<W>
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