pub struct NativeEnvelope {
pub from: String,
pub from_name: Option<String>,
pub body: String,
}Expand description
A native peer envelope as Claude delivered it to a relay.
Fields§
§from: StringClaude’s from (the sender’s socket, uds:/tmp/cc-socks/<pid>.sock).
from_name: Option<String>Claude’s from-name.
body: StringMessage body, unescaped as Claude delivered it.
Trait Implementations§
Source§impl Clone for NativeEnvelope
impl Clone for NativeEnvelope
Source§impl Debug for NativeEnvelope
impl Debug for NativeEnvelope
impl Eq for NativeEnvelope
Source§impl PartialEq for NativeEnvelope
impl PartialEq for NativeEnvelope
impl StructuralPartialEq for NativeEnvelope
Auto Trait Implementations§
impl Freeze for NativeEnvelope
impl RefUnwindSafe for NativeEnvelope
impl Send for NativeEnvelope
impl Sync for NativeEnvelope
impl Unpin for NativeEnvelope
impl UnsafeUnpin for NativeEnvelope
impl UnwindSafe for NativeEnvelope
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.