pub struct StreamCancelled {
pub assembly: Vec<u8>,
pub score: Option<ScoreReport>,
}Expand description
Host-requested cancel that returned a usable working pose. Distinct
from error because for open-ended streaming ops (wiggle, shake,
repack/design loops, etc.) the only terminal the user ever sees is
the host-initiated cancel; treating it as a failure forces the host
to carve out “for this code, actually treat it as success”, which
is what produced the cross-stream commit race the terminal split
fixes. The orchestrator promotes assembly into canonical state
using the same rule as Final (locked-entity slices copied; other
entities ignored). Reserved for terminals that follow a
CancelStream request; spontaneous failures (watchdog eviction,
mid-action exception, transport drop) still ride error.
Fields§
§assembly: Vec<u8>§score: Option<ScoreReport>Warm score of assembly; absent for plugins that don’t score.
Trait Implementations§
Source§impl Clone for StreamCancelled
impl Clone for StreamCancelled
Source§fn clone(&self) -> StreamCancelled
fn clone(&self) -> StreamCancelled
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 StreamCancelled
impl Debug for StreamCancelled
Source§impl Default for StreamCancelled
impl Default for StreamCancelled
Source§impl Message for StreamCancelled
impl Message for StreamCancelled
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.Source§impl PartialEq for StreamCancelled
impl PartialEq for StreamCancelled
Source§fn eq(&self, other: &StreamCancelled) -> bool
fn eq(&self, other: &StreamCancelled) -> bool
self and other values to be equal, and is used by ==.