Struct nix_nar::EncoderBuilder
source · [−]Expand description
Builder for Encoder.
Implementations
sourceimpl<P: AsRef<Path>> EncoderBuilder<P>
impl<P: AsRef<Path>> EncoderBuilder<P>
pub fn build(&self) -> EncoderⓘNotable traits for Encoderimpl Read for Encoder
sourcepub fn internal_buffer_size(&mut self, x: usize) -> &mut Self
pub fn internal_buffer_size(&mut self, x: usize) -> &mut Self
Configure the internal buffer size. This should be at least 200 bytes larger than the longest filename. Panics if the given number is smaller than 200.
Auto Trait Implementations
impl<P> RefUnwindSafe for EncoderBuilder<P> where
P: RefUnwindSafe,
impl<P> Send for EncoderBuilder<P> where
P: Send,
impl<P> Sync for EncoderBuilder<P> where
P: Sync,
impl<P> Unpin for EncoderBuilder<P> where
P: Unpin,
impl<P> UnwindSafe for EncoderBuilder<P> where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more