Enum distant_net::manager::ManagerRequest
source · pub enum ManagerRequest {
Capabilities,
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§
Capabilities
Retrieve information about the server’s capabilities
Launch
Launch a server using the manager
Connect
Initiate a connection through the manager
Authenticate
Fields
§
id: ManagerAuthenticationIdId of the authentication request that is being responded to
§
msg: AuthenticationResponseResponse being sent to some active connection
Submit some authentication message for the manager to use with an active connection
OpenChannel
Fields
§
id: ConnectionIdId of the connection
Opens a channel for communication with an already-connected server
Channel
Fields
§
id: ManagerChannelIdId of the channel
§
request: UntypedRequest<'static>Untyped request to send through the channel
Sends data through channel
CloseChannel
Fields
§
id: ManagerChannelIdId of the channel to close
Closes an open channel
Info
Fields
§
id: ConnectionIdRetrieve information about a specific connection
Kill
Fields
§
id: ConnectionIdKill a specific connection
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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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
source§impl<'_enum> From<&'_enum ManagerRequest> for ManagerCapabilityKind
impl<'_enum> From<&'_enum ManagerRequest> for ManagerCapabilityKind
source§fn from(val: &'_enum ManagerRequest) -> ManagerCapabilityKind
fn from(val: &'_enum ManagerRequest) -> ManagerCapabilityKind
Converts to this type from the input type.
source§impl From<ManagerRequest> for ManagerCapabilityKind
impl From<ManagerRequest> for ManagerCapabilityKind
source§fn from(val: ManagerRequest) -> ManagerCapabilityKind
fn from(val: ManagerRequest) -> ManagerCapabilityKind
Converts to this type from the input type.
Auto Trait Implementations§
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