pub struct ZipWriter<W: Write + Seek> { /* private fields */ }Expand description
ZIP文档写入器
Implementations§
Source§impl ZipWriter<File>
impl ZipWriter<File>
Sourcepub fn create_file<P: AsRef<Path>>(path: P) -> Result<Self>
pub fn create_file<P: AsRef<Path>>(path: P) -> Result<Self>
创建新的ZIP文件
Auto Trait Implementations§
impl<W> !UnwindSafe for ZipWriter<W>
impl<W> Freeze for ZipWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for ZipWriter<W>where
W: RefUnwindSafe,
impl<W> Send for ZipWriter<W>where
W: Send,
impl<W> Sync for ZipWriter<W>where
W: Sync,
impl<W> Unpin for ZipWriter<W>where
W: Unpin,
impl<W> UnsafeUnpin for ZipWriter<W>where
W: UnsafeUnpin,
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