pub struct ManagerConnection {
pub id: ConnectionId,
pub destination: Destination,
pub options: Map,
/* private fields */
}
Expand description
Represents a connection a distant manager has with some distant-compatible server
Fields§
§id: ConnectionId
§destination: Destination
§options: Map
Implementations§
Source§impl ManagerConnection
impl ManagerConnection
pub async fn spawn( spawn: Destination, options: Map, client: UntypedClient, ) -> Result<Self>
pub fn open_channel( &self, reply: ServerReply<ManagerResponse>, ) -> Result<ManagerChannel>
pub async fn channel_ids(&self) -> Result<Vec<ManagerChannelId>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ManagerConnection
impl RefUnwindSafe for ManagerConnection
impl Send for ManagerConnection
impl Sync for ManagerConnection
impl Unpin for ManagerConnection
impl UnwindSafe for ManagerConnection
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