pub enum InteractionEvent {
Started,
Ended,
Input(Vec<u8>),
Output(Vec<u8>),
ExitRequested,
EscapeSequence(Vec<u8>),
Resize {
cols: u16,
rows: u16,
},
}Expand description
Interaction events.
Variants§
Started
Session started.
Ended
Session ended.
Input(Vec<u8>)
Input received from user.
Output(Vec<u8>)
Output received from session.
ExitRequested
Exit character pressed.
EscapeSequence(Vec<u8>)
Escape sequence detected.
Resize
Window resized.
Trait Implementations§
Source§impl Clone for InteractionEvent
impl Clone for InteractionEvent
Source§fn clone(&self) -> InteractionEvent
fn clone(&self) -> InteractionEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InteractionEvent
impl RefUnwindSafe for InteractionEvent
impl Send for InteractionEvent
impl Sync for InteractionEvent
impl Unpin for InteractionEvent
impl UnwindSafe for InteractionEvent
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