pub struct LineCapture { /* private fields */ }Expand description
A capture that delivers a stream as lines, from Capture::lines.
Implementations§
Source§impl LineCapture
impl LineCapture
Sourcepub const fn line(self, line: usize) -> Self
pub const fn line(self, line: usize) -> Self
Sets the most bytes of one line, without its end. Without it, one line has no limit of its own, and only the total limit applies.
Sourcepub const fn long(self, long: LongLine) -> Self
pub const fn long(self, long: LongLine) -> Self
Sets what a line longer than the limit of one line does. Without it,
such a line takes the stream over its limit, as LongLine::Over
says.
Trait Implementations§
Source§impl Clone for LineCapture
impl Clone for LineCapture
Source§impl Debug for LineCapture
impl Debug for LineCapture
Source§impl From<LineCapture> for Capture
impl From<LineCapture> for Capture
Source§fn from(lines: LineCapture) -> Self
fn from(lines: LineCapture) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for LineCapture
impl Freeze for LineCapture
impl Move for LineCapture
impl RefUnwindSafe for LineCapture
impl Send for LineCapture
impl Sync for LineCapture
impl Unpin for LineCapture
impl UnsafeUnpin for LineCapture
impl UnwindSafe for LineCapture
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