pub struct SessionLog<T: BufRead> {
pub meta: SessionMeta,
/* private fields */
}Fields§
§meta: SessionMetaImplementations§
Source§impl SessionLog<BufReader<File>>
impl SessionLog<BufReader<File>>
Source§impl<T: BufRead> SessionLog<T>
impl<T: BufRead> SessionLog<T>
pub fn from_reader(reader: T) -> Result<Self, SessionLogError>
pub fn bytes_read(&self) -> usize
pub fn meta_line_bytes(&self) -> usize
pub fn next_entry(&mut self) -> Result<Option<SessionLogEntry>>
pub fn next_line(&mut self) -> Result<Option<SessionLine>>
Auto Trait Implementations§
impl<T> Freeze for SessionLog<T>where
T: Freeze,
impl<T> RefUnwindSafe for SessionLog<T>where
T: RefUnwindSafe,
impl<T> Send for SessionLog<T>where
T: Send,
impl<T> Sync for SessionLog<T>where
T: Sync,
impl<T> Unpin for SessionLog<T>where
T: Unpin,
impl<T> UnsafeUnpin for SessionLog<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SessionLog<T>where
T: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.