pub struct SessionExit {
pub code: i32,
pub signal: i32,
pub metadata: HashMap<String, String>,
}Expand description
How a proxied compile session ended. code is the child’s exit code when it
exited normally. signal is the terminating Unix signal number when the
child was killed by a signal (0 when it exited normally, and always 0 on
Windows). Consumers read signal first: a non-zero signal means signal
death regardless of code.
Fields§
§code: i32§signal: i32§metadata: HashMap<String, String>Opaque service-defined key/value metadata carried on the terminal frame
(soldr#2365 Q3). running-process never interprets it — relay_session
does not even decode the frame, so the broker relays it transparently. A
consumer daemon populates keys its own clients understand: soldr carries
cache_outcome / compile_id here so the SESSION path preserves the
observability the legacy CompileDone frame carried (build history,
soldr doctor, perf-gate attribution). Backward-compatible proto3
addition; existing peers that do not set it send an empty map.
Trait Implementations§
Source§impl Clone for SessionExit
impl Clone for SessionExit
Source§fn clone(&self) -> SessionExit
fn clone(&self) -> SessionExit
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionExit
impl Debug for SessionExit
Source§impl Default for SessionExit
impl Default for SessionExit
Source§impl Message for SessionExit
impl Message for SessionExit
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.