Struct distant_core::SessionInfoFile [−][src]
pub struct SessionInfoFile { /* fields omitted */ }
Expand description
Provides operations related to working with a session that is disk-based
Implementations
Creates a new inmemory pointer to a session and its file
Returns a reference to the session
Saves a session to to a file at the specified path
If all is true, will create all directories leading up to file’s location
Methods from Deref<Target = SessionInfo>
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 key in the form of
DISTANT DATA <host> <port> <key>
Trait Implementations
Performs the conversion.
type Target = SessionInfo
type Target = SessionInfo
The resulting type after dereferencing.
Performs the conversion.