Struct distant_net::manager::ManagerConnection
source · 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: MapImplementations§
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>
Trait Implementations§
Auto Trait Implementations§
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