pub enum CodexEvent {
TaskComplete {
conversation_id: String,
result: Value,
},
ApprovalRequired(ApprovalRequest),
Cancelled {
conversation_id: Option<String>,
reason: Option<String>,
},
Error {
message: String,
data: Option<Value>,
},
Raw {
method: String,
params: Value,
},
}Expand description
Notification emitted by codex/event.
Variants§
Trait Implementations§
Source§impl Clone for CodexEvent
impl Clone for CodexEvent
Source§fn clone(&self) -> CodexEvent
fn clone(&self) -> CodexEvent
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 CodexEvent
impl Debug for CodexEvent
Source§impl<'de> Deserialize<'de> for CodexEvent
impl<'de> Deserialize<'de> for CodexEvent
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
Auto Trait Implementations§
impl Freeze for CodexEvent
impl RefUnwindSafe for CodexEvent
impl Send for CodexEvent
impl Sync for CodexEvent
impl Unpin for CodexEvent
impl UnsafeUnpin for CodexEvent
impl UnwindSafe for CodexEvent
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