pub struct ReplSession {
pub history: CommandHistory,
pub options: ReplOptions,
pub stats: ReplStats,
/* private fields */
}Expand description
A REPL session that tracks history, options, and statistics.
Fields§
§history: CommandHistoryCommand history.
options: ReplOptionsREPL options.
stats: ReplStatsSession statistics.
Implementations§
Trait Implementations§
Source§impl Debug for ReplSession
impl Debug for ReplSession
Auto Trait Implementations§
impl Freeze for ReplSession
impl RefUnwindSafe for ReplSession
impl Send for ReplSession
impl Sync for ReplSession
impl Unpin for ReplSession
impl UnsafeUnpin for ReplSession
impl UnwindSafe for ReplSession
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