pub enum CodexHookEvent {
SessionStart,
UserPromptSubmit,
PreCompact,
PostCompact,
Stop,
}Expand description
Codex hook event tokens this renderer can emit.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CodexHookEvent
impl Clone for CodexHookEvent
Source§fn clone(&self) -> CodexHookEvent
fn clone(&self) -> CodexHookEvent
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 CodexHookEvent
impl Debug for CodexHookEvent
Source§impl Hash for CodexHookEvent
impl Hash for CodexHookEvent
Source§impl PartialEq for CodexHookEvent
impl PartialEq for CodexHookEvent
Source§fn eq(&self, other: &CodexHookEvent) -> bool
fn eq(&self, other: &CodexHookEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CodexHookEvent
impl Eq for CodexHookEvent
impl StructuralPartialEq for CodexHookEvent
Auto Trait Implementations§
impl Freeze for CodexHookEvent
impl RefUnwindSafe for CodexHookEvent
impl Send for CodexHookEvent
impl Sync for CodexHookEvent
impl Unpin for CodexHookEvent
impl UnsafeUnpin for CodexHookEvent
impl UnwindSafe for CodexHookEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.