Skip to main content

AgentTransport

Trait AgentTransport 

Source
pub trait AgentTransport:
    AsyncRead
    + AsyncWrite
    + Unpin
    + Send
    + 'static { }
Expand description

Owned byte transport accepted directly by AgentClient::connect_stream. Owned transport; reader and writer progress independently after splitting.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> ByteTransport for T
where T: AsyncRead + AsyncWrite + Unpin + Send + 'static,