pub enum NdjsonSource {
File(PathBuf),
Reader(Box<dyn BufRead + Send>),
}Expand description
Input source for NDJSON APIs that can operate on either files or callers’ existing buffered readers.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NdjsonSource
impl !RefUnwindSafe for NdjsonSource
impl Send for NdjsonSource
impl !Sync for NdjsonSource
impl Unpin for NdjsonSource
impl UnsafeUnpin for NdjsonSource
impl !UnwindSafe for NdjsonSource
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