pub enum HarnessTerminalControlV1 {
Show 54 variants
Interrupt,
EndOfFile,
ControlA,
ControlB,
ControlE,
ControlF,
ControlG,
ControlH,
ControlI,
ControlJ,
ControlK,
ControlL,
ControlM,
ControlN,
ControlO,
ControlP,
ControlQ,
ControlR,
ControlS,
ControlT,
ControlU,
ControlV,
ControlW,
ControlX,
ControlY,
ControlZ,
Enter,
LineFeed,
Escape,
Backspace,
Tab,
BackTab,
Insert,
Delete,
Home,
End,
PageUp,
PageDown,
ArrowUp,
ArrowDown,
ArrowRight,
ArrowLeft,
Function1,
Function2,
Function3,
Function4,
Function5,
Function6,
Function7,
Function8,
Function9,
Function10,
Function11,
Function12,
}Expand description
Exact mirror of gate4agent_types::TerminalControl: this crate has no
dependency on gate4agent-types (see the doc comment on
HARNESS_SESSION_BYTES_MAX_BYTES), so ControlSession’s special-key
payload is duplicated here as its own closed wire enum rather than
imported. The variant set and names are kept in lockstep by hand –
hatchery-harness-service’s c2::map_terminal_control is the single
place that converts one into the other, so a variant added to one side
without the other fails to compile there. No validate() method: unlike
a bounded string or byte vector, a closed enum’s own deserialization is
already the bound – an unrecognized variant name is rejected before this
type is ever constructed.
Variants§
Interrupt
EndOfFile
ControlA
ControlB
ControlE
ControlF
ControlG
ControlH
ControlI
ControlJ
ControlK
ControlL
ControlM
ControlN
ControlO
ControlP
ControlQ
ControlR
ControlS
ControlT
ControlU
ControlV
ControlW
ControlX
ControlY
ControlZ
Enter
LineFeed
Escape
Backspace
Tab
BackTab
Insert
Delete
Home
End
PageUp
PageDown
ArrowUp
ArrowDown
ArrowRight
ArrowLeft
Function1
Function2
Function3
Function4
Function5
Function6
Function7
Function8
Function9
Function10
Function11
Function12
Trait Implementations§
Source§impl Clone for HarnessTerminalControlV1
impl Clone for HarnessTerminalControlV1
impl Copy for HarnessTerminalControlV1
Source§impl Debug for HarnessTerminalControlV1
impl Debug for HarnessTerminalControlV1
Source§impl<'de> Deserialize<'de> for HarnessTerminalControlV1
impl<'de> Deserialize<'de> for HarnessTerminalControlV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessTerminalControlV1
Source§impl PartialEq for HarnessTerminalControlV1
impl PartialEq for HarnessTerminalControlV1
Source§impl Serialize for HarnessTerminalControlV1
impl Serialize for HarnessTerminalControlV1
impl StructuralPartialEq for HarnessTerminalControlV1
Auto Trait Implementations§
impl Freeze for HarnessTerminalControlV1
impl RefUnwindSafe for HarnessTerminalControlV1
impl Send for HarnessTerminalControlV1
impl Sync for HarnessTerminalControlV1
impl Unpin for HarnessTerminalControlV1
impl UnsafeUnpin for HarnessTerminalControlV1
impl UnwindSafe for HarnessTerminalControlV1
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