pub enum RelayEvent {
Peer(NativeEnvelope),
IdleNotice(String),
DeliveryNotice(String),
}Expand description
One inbound prompt, as Claude handed it to a relay’s hook.
Variants§
Peer(NativeEnvelope)
A peer message arrived.
IdleNotice(String)
A [Cross-session idle notice].
DeliveryNotice(String)
A [Cross-session delivery notice].
Trait Implementations§
Source§impl Clone for RelayEvent
impl Clone for RelayEvent
Source§impl Debug for RelayEvent
impl Debug for RelayEvent
impl Eq for RelayEvent
Source§impl PartialEq for RelayEvent
impl PartialEq for RelayEvent
impl StructuralPartialEq for RelayEvent
Auto Trait Implementations§
impl Freeze for RelayEvent
impl RefUnwindSafe for RelayEvent
impl Send for RelayEvent
impl Sync for RelayEvent
impl Unpin for RelayEvent
impl UnsafeUnpin for RelayEvent
impl UnwindSafe for RelayEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.