pub enum TerminalResponse {
Dcs {
payload: Vec<u8>,
truncated: bool,
},
Apc {
payload: Vec<u8>,
truncated: bool,
},
CellSize {
width: u16,
height: u16,
},
}Expand description
Terminal query or control-string response decoded from the input stream.
Variants§
Dcs
Device Control String (ESC P ... ST) payload (e.g. XTGETTCAP or DECRQSS reply).
Fields
Apc
Application Program Command (ESC _ ... ST) payload when APC capture is enabled.
Fields
CellSize
XTWINOPS cell size in pixels (CSI 6 ; height ; width t).
Trait Implementations§
Source§impl Clone for TerminalResponse
impl Clone for TerminalResponse
Source§impl Debug for TerminalResponse
impl Debug for TerminalResponse
impl Eq for TerminalResponse
Source§impl PartialEq for TerminalResponse
impl PartialEq for TerminalResponse
impl StructuralPartialEq for TerminalResponse
Auto Trait Implementations§
impl Forget for TerminalResponse
impl Freeze for TerminalResponse
impl Move for TerminalResponse
impl RefUnwindSafe for TerminalResponse
impl Send for TerminalResponse
impl Sync for TerminalResponse
impl Unpin for TerminalResponse
impl UnsafeUnpin for TerminalResponse
impl UnwindSafe for TerminalResponse
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