pub struct AppendWriter<W: AppendWrite> { /* private fields */ }Expand description
AppendWriter will implements oio::Write based on append object.
§TODO
- Allow users to switch to un-buffered mode if users write 16MiB every time.
Implementations§
Source§impl<W: AppendWrite> AppendWriter<W>
§Safety
wasm32 is a special target that we only have one event-loop for this state.
impl<W: AppendWrite> AppendWriter<W>
§Safety
wasm32 is a special target that we only have one event-loop for this state.
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for AppendWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for AppendWriter<W>where
W: RefUnwindSafe,
impl<W> Send for AppendWriter<W>
impl<W> Sync for AppendWriter<W>
impl<W> Unpin for AppendWriter<W>
impl<W> UnsafeUnpin for AppendWriter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for AppendWriter<W>where
W: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSend for Twhere
T: Send,
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Source§impl<T> WriteDyn for T
impl<T> WriteDyn for T
Source§fn write_dyn(
&mut self,
bs: Buffer,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>>
fn write_dyn( &mut self, bs: Buffer, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>>
The dyn version of
Write::write.Source§fn copy_from_dyn<'a>(
&'a mut self,
path: &'a str,
args: OpRead,
range: BytesRange,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn copy_from_dyn<'a>( &'a mut self, path: &'a str, args: OpRead, range: BytesRange, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
The dyn version of
Write::copy_from.