pub enum SystemSubtype {
Init,
Compact,
}Expand description
Subtype of a System message.
Initis emitted once at session start, carrying the session id and the run configuration.Compactis emitted after a successful history-compaction step (seecrate::agent::CompactionConfig). Itsdatafield carries{"message_count_after": <usize>}.
Variants§
Trait Implementations§
Source§impl Clone for SystemSubtype
impl Clone for SystemSubtype
Source§fn clone(&self) -> SystemSubtype
fn clone(&self) -> SystemSubtype
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 SystemSubtype
impl Debug for SystemSubtype
Source§impl<'de> Deserialize<'de> for SystemSubtype
impl<'de> Deserialize<'de> for SystemSubtype
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SystemSubtype
impl PartialEq for SystemSubtype
Source§fn eq(&self, other: &SystemSubtype) -> bool
fn eq(&self, other: &SystemSubtype) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SystemSubtype
impl Serialize for SystemSubtype
impl Copy for SystemSubtype
impl Eq for SystemSubtype
impl StructuralPartialEq for SystemSubtype
Auto Trait Implementations§
impl Freeze for SystemSubtype
impl RefUnwindSafe for SystemSubtype
impl Send for SystemSubtype
impl Sync for SystemSubtype
impl Unpin for SystemSubtype
impl UnsafeUnpin for SystemSubtype
impl UnwindSafe for SystemSubtype
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