#[repr(u32)]pub enum SkillMessageType {
Show 20 variants
Execute = 1,
Cancel = 2,
StdinData = 3,
Resize = 4,
Signal = 5,
StartSession = 6,
Shutdown = 7,
Ack = 128,
StdoutChunk = 129,
StderrChunk = 130,
Progress = 131,
Completed = 132,
Error = 133,
SessionStarted = 134,
ProxySubmit = 200,
ProxyCancel = 201,
ProxyStdoutChunk = 202,
ProxyStderrChunk = 203,
ProxyCompleted = 204,
ProxyRejected = 205,
}Expand description
Message types for skill ↔ server communication.
Values 1–127 are server→skill (requests), 128+ are skill→server (responses).
Variants§
Execute = 1
Cancel = 2
StdinData = 3
Resize = 4
Signal = 5
StartSession = 6
Shutdown = 7
Ack = 128
StdoutChunk = 129
StderrChunk = 130
Progress = 131
Completed = 132
Error = 133
SessionStarted = 134
ProxySubmit = 200
ProxyCancel = 201
ProxyStdoutChunk = 202
ProxyStderrChunk = 203
ProxyCompleted = 204
ProxyRejected = 205
Implementations§
Trait Implementations§
Source§impl Clone for SkillMessageType
impl Clone for SkillMessageType
Source§fn clone(&self) -> SkillMessageType
fn clone(&self) -> SkillMessageType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillMessageType
impl Debug for SkillMessageType
Source§impl PartialEq for SkillMessageType
impl PartialEq for SkillMessageType
Source§fn eq(&self, other: &SkillMessageType) -> bool
fn eq(&self, other: &SkillMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SkillMessageType
impl Eq for SkillMessageType
impl StructuralPartialEq for SkillMessageType
Auto Trait Implementations§
impl Freeze for SkillMessageType
impl RefUnwindSafe for SkillMessageType
impl Send for SkillMessageType
impl Sync for SkillMessageType
impl Unpin for SkillMessageType
impl UnsafeUnpin for SkillMessageType
impl UnwindSafe for SkillMessageType
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