pub struct NativePackStreamingWriter { /* private fields */ }Implementations§
Source§impl NativePackStreamingWriter
impl NativePackStreamingWriter
pub fn new_in(root: &Path, object_count: u64) -> Result<Self>
pub fn pack_path(&self) -> &Path
pub fn index_path(&self) -> &Path
pub fn add_object_data(&mut self, object: ObjectData) -> Result<()>
pub fn flush_pack(&mut self) -> Result<()>
pub fn finish(self) -> Result<NativePackFileBundle>
Trait Implementations§
Source§impl Drop for NativePackStreamingWriter
impl Drop for NativePackStreamingWriter
Auto Trait Implementations§
impl Freeze for NativePackStreamingWriter
impl RefUnwindSafe for NativePackStreamingWriter
impl Send for NativePackStreamingWriter
impl Sync for NativePackStreamingWriter
impl Unpin for NativePackStreamingWriter
impl UnsafeUnpin for NativePackStreamingWriter
impl UnwindSafe for NativePackStreamingWriter
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