pub struct GatewayRunner { /* private fields */ }Expand description
Runs agents via a walrusd Unix domain socket connection.
Implementations§
Source§impl GatewayRunner
impl GatewayRunner
Sourcepub async fn list_agents(&mut self) -> Result<Vec<AgentSummary>>
pub async fn list_agents(&mut self) -> Result<Vec<AgentSummary>>
List all registered agents.
Sourcepub async fn agent_info(&mut self, agent: &str) -> Result<ServerMessage>
pub async fn agent_info(&mut self, agent: &str) -> Result<ServerMessage>
Get detailed info for a specific agent.
Sourcepub fn download_stream(
&mut self,
msg: ClientMessage,
) -> impl Stream<Item = Result<ServerMessage>> + '_
pub fn download_stream( &mut self, msg: ClientMessage, ) -> impl Stream<Item = Result<ServerMessage>> + '_
Send a download request and return a stream of progress messages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GatewayRunner
impl RefUnwindSafe for GatewayRunner
impl Send for GatewayRunner
impl Sync for GatewayRunner
impl Unpin for GatewayRunner
impl UnsafeUnpin for GatewayRunner
impl UnwindSafe for GatewayRunner
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