pub struct Terminal;Expand description
Reports and questions as lines.
Trait Implementations§
Source§impl Channel for Terminal
impl Channel for Terminal
Source§fn ask(&self, question: &Question)
fn ask(&self, question: &Question)
Ask something, and return. The answer, if one comes, arrives through
answers.Source§fn withdraw(&self, _about: &str)
fn withdraw(&self, _about: &str)
Take back a question that no longer applies, named by its
about. Read moreSource§fn answers(&self) -> Vec<Answer>
fn answers(&self) -> Vec<Answer>
The answers that have arrived since this was last asked. Read more
Source§fn insist(&self, report: &Report)
fn insist(&self, report: &Report)
Say something in a way that cannot be missed, because something was
refused and the person is owed an explanation for it. Read more
Source§fn stay_until_seen(&self)
fn stay_until_seen(&self)
Wait for anything this channel put on the screen that belongs to this
process, before the process ends. Read more
impl Copy for Terminal
Auto Trait Implementations§
impl Freeze for Terminal
impl RefUnwindSafe for Terminal
impl Send for Terminal
impl Sync for Terminal
impl Unpin for Terminal
impl UnsafeUnpin for Terminal
impl UnwindSafe for Terminal
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