Struct distant_core::SessionInfo [−][src]
Fields
host: Stringport: u16auth_key: SecretKeyImplementations
Loads session from environment variables
Loads session from the next line available in this program’s stdin
Consumes the session and returns the auth key
Returns the ip address associated with the session based on the host
Returns socket address associated with the session
Converts to unprotected string that exposes the auth key in the form of
DISTANT DATA <host> <port> <auth key>
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.