pub enum Response {
Accept,
Deny,
Break,
Continue,
}
Expand description
Control codes for the prebaked menu
Variants§
Accept
Accept the line, and save it to history
Deny
Reject the line, and clear the buffer
Break
End the loop
Continue
Gather more input and try again
Trait Implementations§
source§impl PartialEq for Response
impl PartialEq for Response
impl Copy for Response
impl Eq for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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