pub enum ManagerRequest {
Version,
Launch {
destination: Box<Destination>,
options: Map,
},
Connect {
destination: Box<Destination>,
options: Map,
},
Authenticate {
id: ManagerAuthenticationId,
msg: AuthenticationResponse,
},
OpenChannel {
id: ConnectionId,
},
Channel {
id: ManagerChannelId,
request: UntypedRequest<'static>,
},
CloseChannel {
id: ManagerChannelId,
},
Info {
id: ConnectionId,
},
Kill {
id: ConnectionId,
},
List,
}
Variants§
Version
Retrieve information about the manager’s version.
Launch
Launch a server using the manager
Connect
Initiate a connection through the manager
Authenticate
Submit some authentication message for the manager to use with an active connection
Fields
§
id: ManagerAuthenticationId
Id of the authentication request that is being responded to
§
msg: AuthenticationResponse
Response being sent to some active connection
OpenChannel
Opens a channel for communication with an already-connected server
Fields
§
id: ConnectionId
Id of the connection
Channel
Sends data through channel
Fields
§
id: ManagerChannelId
Id of the channel
§
request: UntypedRequest<'static>
Untyped request to send through the channel
CloseChannel
Closes an open channel
Fields
§
id: ManagerChannelId
Id of the channel to close
Info
Retrieve information about a specific connection
Fields
§
id: ConnectionId
Kill
Kill a specific connection
Fields
§
id: ConnectionId
List
Retrieve list of connections being managed
Trait Implementations§
Source§impl Clone for ManagerRequest
impl Clone for ManagerRequest
Source§fn clone(&self) -> ManagerRequest
fn clone(&self) -> ManagerRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ManagerRequest
impl Debug for ManagerRequest
Source§impl<'de> Deserialize<'de> for ManagerRequest
impl<'de> Deserialize<'de> for ManagerRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ManagerRequest
impl RefUnwindSafe for ManagerRequest
impl Send for ManagerRequest
impl Sync for ManagerRequest
impl Unpin for ManagerRequest
impl UnwindSafe for ManagerRequest
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