Struct maelstrom_util::manifest::AsyncManifestWriter
source · pub struct AsyncManifestWriter<WriteT> { /* private fields */ }
Implementations§
source§impl<WriteT: AsyncWrite + Unpin> AsyncManifestWriter<WriteT>
impl<WriteT: AsyncWrite + Unpin> AsyncManifestWriter<WriteT>
pub async fn new(w: WriteT) -> Result<Self>
pub async fn write_entry(&mut self, entry: &ManifestEntry) -> Result<()>
pub async fn write_entries<'entry>( &mut self, entries: impl IntoIterator<Item = &'entry ManifestEntry>, ) -> Result<()>
Auto Trait Implementations§
impl<WriteT> Freeze for AsyncManifestWriter<WriteT>where
WriteT: Freeze,
impl<WriteT> RefUnwindSafe for AsyncManifestWriter<WriteT>where
WriteT: RefUnwindSafe,
impl<WriteT> Send for AsyncManifestWriter<WriteT>where
WriteT: Send,
impl<WriteT> Sync for AsyncManifestWriter<WriteT>where
WriteT: Sync,
impl<WriteT> Unpin for AsyncManifestWriter<WriteT>where
WriteT: Unpin,
impl<WriteT> UnwindSafe for AsyncManifestWriter<WriteT>where
WriteT: 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