pub struct EncoderBuilder<P: AsRef<Path>, FS: FileSystem = NativeFileSystem> { /* private fields */ }Expand description
Builder for Encoder.
Implementations§
Source§impl<P: AsRef<Path>, FS: FileSystem> EncoderBuilder<P, FS>
impl<P: AsRef<Path>, FS: FileSystem> EncoderBuilder<P, FS>
Sourcepub fn internal_buffer_size(self, x: usize) -> Self
pub fn internal_buffer_size(self, x: usize) -> Self
Configure the internal buffer size. This should be at least 200 bytes larger than the longest filename.
§Panics
Panics if the given number is smaller than 200.
Sourcepub fn filesystem<FS2: FileSystem>(self, fs: FS2) -> EncoderBuilder<P, FS2>
pub fn filesystem<FS2: FileSystem>(self, fs: FS2) -> EncoderBuilder<P, FS2>
Configure filesystem implementation.
Auto Trait Implementations§
impl<P, FS> Freeze for EncoderBuilder<P, FS>
impl<P, FS> RefUnwindSafe for EncoderBuilder<P, FS>where
P: RefUnwindSafe,
FS: RefUnwindSafe,
impl<P, FS> Send for EncoderBuilder<P, FS>
impl<P, FS> Sync for EncoderBuilder<P, FS>
impl<P, FS> Unpin for EncoderBuilder<P, FS>
impl<P, FS> UnsafeUnpin for EncoderBuilder<P, FS>where
P: UnsafeUnpin,
FS: UnsafeUnpin,
impl<P, FS> UnwindSafe for EncoderBuilder<P, FS>where
P: UnwindSafe,
FS: 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