pub struct FileAdderBuilder { /* private fields */ }
Expand description
Convenience type to facilitate configuring FileAdder
s.
Implementations§
Source§impl FileAdderBuilder
impl FileAdderBuilder
Sourcepub fn with_chunker(self, chunker: Chunker) -> Self
pub fn with_chunker(self, chunker: Chunker) -> Self
Configures the builder to use the given chunker.
Sourcepub fn with_collector(self, collector: impl Into<Collector>) -> Self
pub fn with_collector(self, collector: impl Into<Collector>) -> Self
Configures the builder to use the given collector or layout.
Trait Implementations§
Source§impl Default for FileAdderBuilder
impl Default for FileAdderBuilder
Source§fn default() -> FileAdderBuilder
fn default() -> FileAdderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileAdderBuilder
impl RefUnwindSafe for FileAdderBuilder
impl Send for FileAdderBuilder
impl Sync for FileAdderBuilder
impl Unpin for FileAdderBuilder
impl UnwindSafe for FileAdderBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more