pub enum SystemSubtype {
Init,
Status,
CompactBoundary,
TaskStarted,
TaskProgress,
TaskNotification,
Unknown(String),
}Expand description
Known system message subtypes.
The Claude CLI emits system messages with a subtype field indicating what
kind of system event occurred. This enum captures the known subtypes while
preserving unknown values via the Unknown variant for forward compatibility.
Variants§
Init
Status
CompactBoundary
TaskStarted
TaskProgress
TaskNotification
Unknown(String)
A subtype not yet known to this version of the crate.
Implementations§
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 · 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<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SystemSubtype
impl Display for SystemSubtype
Source§impl From<&str> for SystemSubtype
impl From<&str> for SystemSubtype
Source§impl Hash for SystemSubtype
impl Hash for SystemSubtype
Source§impl PartialEq for SystemSubtype
impl PartialEq for SystemSubtype
Source§impl Serialize for SystemSubtype
impl Serialize 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