Enum distant_core::SessionDetails [−][src]
pub enum SessionDetails {
Tcp {
addr: SocketAddr,
tag: String,
},
Socket {
path: PathBuf,
tag: String,
},
Inmemory {
tag: String,
},
}Expand description
Details about the session
Variants
Indicates session is a TCP type
Fields of Tcp
addr: SocketAddrtag: StringIndicates session is a Unix socket type
Indicates session type is inmemory
Fields of Inmemory
tag: StringImplementations
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SessionDetails
impl Send for SessionDetails
impl Sync for SessionDetails
impl Unpin for SessionDetails
impl UnwindSafe for SessionDetails
Blanket Implementations
Mutably borrows from an owned value. Read more