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
sourceimpl Clone for ManagerRequest
impl Clone for ManagerRequest
sourcefn clone(&self) -> ManagerRequest
fn clone(&self) -> ManagerRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ManagerRequest
impl Debug for ManagerRequest
sourceimpl<'de> Deserialize<'de> for ManagerRequest
impl<'de> Deserialize<'de> for ManagerRequest
sourcefn 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
sourceimpl<'_enum> From<&'_enum ManagerRequest> for ManagerCapabilityKind
impl<'_enum> From<&'_enum ManagerRequest> for ManagerCapabilityKind
sourcefn from(val: &'_enum ManagerRequest) -> ManagerCapabilityKind
fn from(val: &'_enum ManagerRequest) -> ManagerCapabilityKind
Converts to this type from the input type.
sourceimpl From<ManagerRequest> for ManagerCapabilityKind
impl From<ManagerRequest> for ManagerCapabilityKind
sourcefn from(val: ManagerRequest) -> ManagerCapabilityKind
fn from(val: ManagerRequest) -> ManagerCapabilityKind
Converts to this type from the input type.
sourceimpl Serialize for ManagerRequest
impl Serialize for ManagerRequest
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more