pub struct Conductor;Expand description
The conductor role - orchestrates proxy chains.
Conductors manage connections between clients, proxies, and agents, routing messages through the appropriate proxy chain.
Implementations§
Trait Implementations§
Source§impl HasPeer<Agent> for Conductor
impl HasPeer<Agent> for Conductor
Source§fn remote_style(&self, _peer: Agent) -> RemoteStyle
fn remote_style(&self, _peer: Agent) -> RemoteStyle
Returns the remote style for sending to this peer.
Source§impl HasPeer<Client> for Conductor
impl HasPeer<Client> for Conductor
Source§fn remote_style(&self, _peer: Client) -> RemoteStyle
fn remote_style(&self, _peer: Client) -> RemoteStyle
Returns the remote style for sending to this peer.
Source§impl Ord for Conductor
impl Ord for Conductor
Source§impl PartialOrd for Conductor
impl PartialOrd for Conductor
Source§impl Role for Conductor
impl Role for Conductor
Source§type Counterpart = Proxy
type Counterpart = Proxy
The role that this endpoint connects to. Read more
Source§fn counterpart(&self) -> Self::Counterpart
fn counterpart(&self) -> Self::Counterpart
Returns the counterpart role.
Source§async fn default_handle_dispatch_from(
&self,
message: Dispatch,
cx: ConnectionTo<Conductor>,
) -> Result<Handled<Dispatch>, Error>
async fn default_handle_dispatch_from( &self, message: Dispatch, cx: ConnectionTo<Conductor>, ) -> Result<Handled<Dispatch>, Error>
Method invoked when there is no defined message handler.
impl Copy for Conductor
impl Eq for Conductor
impl StructuralPartialEq for Conductor
Auto Trait Implementations§
impl Freeze for Conductor
impl RefUnwindSafe for Conductor
impl Send for Conductor
impl Sync for Conductor
impl Unpin for Conductor
impl UnsafeUnpin for Conductor
impl UnwindSafe for Conductor
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