pub struct Packer(/* private fields */);Trait Implementations§
Source§impl Sink for Packer
impl Sink for Packer
Source§async fn write_future<T>(
self,
offset: usize,
item: impl Future<Output = T> + Send + 'static,
) -> Result<()>
async fn write_future<T>( self, offset: usize, item: impl Future<Output = T> + Send + 'static, ) -> Result<()>
Transmits the value of a
future<T>Source§async fn write_stream<T>(
self,
offset: usize,
items: impl Stream<Item = Vec<T>> + Send + Unpin + 'static,
) -> Result<()>
async fn write_stream<T>( self, offset: usize, items: impl Stream<Item = Vec<T>> + Send + Unpin + 'static, ) -> Result<()>
Transmits the elements of a
stream<T>Auto Trait Implementations§
impl Freeze for Packer
impl RefUnwindSafe for Packer
impl Send for Packer
impl Sync for Packer
impl Unpin for Packer
impl UnsafeUnpin for Packer
impl UnwindSafe for Packer
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