pub struct SendMessageToPeerTool { /* private fields */ }Expand description
Send a message to a peer on a shared channel. Bound to a single calling agent’s alias; the tool validates every send against that agent’s resolved peer set.
Implementations§
Trait Implementations§
Source§impl Attributable for SendMessageToPeerTool
impl Attributable for SendMessageToPeerTool
Source§impl Tool for SendMessageToPeerTool
impl Tool for SendMessageToPeerTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Human-readable description
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
JSON schema for parameters
Auto Trait Implementations§
impl Freeze for SendMessageToPeerTool
impl RefUnwindSafe for SendMessageToPeerTool
impl Send for SendMessageToPeerTool
impl Sync for SendMessageToPeerTool
impl Unpin for SendMessageToPeerTool
impl UnsafeUnpin for SendMessageToPeerTool
impl UnwindSafe for SendMessageToPeerTool
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more