pub struct ReadOutput { /* private fields */ }Expand description
Bounded text returned by one successful read execution.
Implementations§
Source§impl ReadOutput
impl ReadOutput
Sourcepub fn end_line(&self) -> Option<u64>
pub fn end_line(&self) -> Option<u64>
Returns the final included one-based line, or None for empty output.
Sourcepub fn next_offset(&self) -> Option<u64>
pub fn next_offset(&self) -> Option<u64>
Returns the next one-based line to request when output was truncated.
Sourcepub fn start_line(&self) -> u64
pub fn start_line(&self) -> u64
Returns the requested one-based starting line.
Trait Implementations§
Source§impl Clone for ReadOutput
impl Clone for ReadOutput
Source§fn clone(&self) -> ReadOutput
fn clone(&self) -> ReadOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadOutput
impl Debug for ReadOutput
impl Eq for ReadOutput
Source§impl PartialEq for ReadOutput
impl PartialEq for ReadOutput
Source§impl Serialize for ReadOutput
impl Serialize for ReadOutput
impl StructuralPartialEq for ReadOutput
Auto Trait Implementations§
impl Freeze for ReadOutput
impl RefUnwindSafe for ReadOutput
impl Send for ReadOutput
impl Sync for ReadOutput
impl Unpin for ReadOutput
impl UnsafeUnpin for ReadOutput
impl UnwindSafe for ReadOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.