pub enum ChunkKind {
Data = 0,
Heartbeat = 1,
ExitStatus = 2,
}
Expand description
ChunkKind is a tag that indicates what type of frame is being transmitted through the socket.
Variants§
Data = 0
After the kind tag, the chunk will have a 4 byte little endian length prefix followed by the actual data.
Heartbeat = 1
An empty chunk sent so that the daemon can check to make sure the attach process is still listening.
ExitStatus = 2
The child shell has exited. After the kind tag, the chunk will have exactly 4 bytes of data, which will contain a little endian code indicating the child’s exit status.
Trait Implementations§
impl Copy for ChunkKind
impl StructuralPartialEq for ChunkKind
Auto Trait Implementations§
impl Freeze for ChunkKind
impl RefUnwindSafe for ChunkKind
impl Send for ChunkKind
impl Sync for ChunkKind
impl Unpin for ChunkKind
impl UnwindSafe for ChunkKind
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