pub struct TextLoader { /* private fields */ }Expand description
Loads a single UTF-8 text file as one Document.
metadata.source is set to the absolute (or as-given) path.
Implementations§
Trait Implementations§
Source§impl DocumentLoader for TextLoader
impl DocumentLoader for TextLoader
Auto Trait Implementations§
impl Freeze for TextLoader
impl RefUnwindSafe for TextLoader
impl Send for TextLoader
impl Sync for TextLoader
impl Unpin for TextLoader
impl UnsafeUnpin for TextLoader
impl UnwindSafe for TextLoader
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