pub enum AwaitEventWaitIdentity {
ToolCompletion {
tool_call_id: String,
},
ProcessSignal {
process_id: String,
signal_name: String,
ordinal: u64,
},
Custom {
key: String,
},
}Variants§
Implementations§
Source§impl AwaitEventWaitIdentity
impl AwaitEventWaitIdentity
pub fn tool_completion( tool_call_id: impl Into<String>, ) -> AwaitEventWaitIdentity
pub fn process_signal( process_id: impl Into<String>, signal_name: impl Into<String>, ordinal: u64, ) -> AwaitEventWaitIdentity
Trait Implementations§
Source§impl Clone for AwaitEventWaitIdentity
impl Clone for AwaitEventWaitIdentity
Source§fn clone(&self) -> AwaitEventWaitIdentity
fn clone(&self) -> AwaitEventWaitIdentity
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 AwaitEventWaitIdentity
impl Debug for AwaitEventWaitIdentity
Source§impl<'de> Deserialize<'de> for AwaitEventWaitIdentity
impl<'de> Deserialize<'de> for AwaitEventWaitIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AwaitEventWaitIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AwaitEventWaitIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AwaitEventWaitIdentity
Source§impl Hash for AwaitEventWaitIdentity
impl Hash for AwaitEventWaitIdentity
Source§impl PartialEq for AwaitEventWaitIdentity
impl PartialEq for AwaitEventWaitIdentity
Source§fn eq(&self, other: &AwaitEventWaitIdentity) -> bool
fn eq(&self, other: &AwaitEventWaitIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AwaitEventWaitIdentity
impl Serialize for AwaitEventWaitIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AwaitEventWaitIdentity
Auto Trait Implementations§
impl Freeze for AwaitEventWaitIdentity
impl RefUnwindSafe for AwaitEventWaitIdentity
impl Send for AwaitEventWaitIdentity
impl Sync for AwaitEventWaitIdentity
impl Unpin for AwaitEventWaitIdentity
impl UnsafeUnpin for AwaitEventWaitIdentity
impl UnwindSafe for AwaitEventWaitIdentity
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