pub enum Input {
Init(InitMessage),
File(FdMessage),
Resize(ResizeMessage),
Started(StartedMessage),
Exit(ExitMessage),
Done(DoneMessage),
Signal(SignalMessage),
}Variants§
Init(InitMessage)
InitMessage sent from client to server will start a new process in a container
File(FdMessage)
FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)
Resize(ResizeMessage)
ResizeMessage used from client to server for terminal resize events
Started(StartedMessage)
StartedMessage sent from server to client after InitMessage to indicate the process has started.
Exit(ExitMessage)
ExitMessage sent from server to client will contain the exit code when the process ends.
Done(DoneMessage)
DoneMessage from server to client will be the last message for any process. Note that FdMessage might be sent after ExitMessage.
Signal(SignalMessage)
SignalMessage is used from client to server to send signal events
Implementations§
Source§impl Input
impl Input
Sourcepub fn merge<B>(
field: &mut Option<Input>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Input>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request