Enum mpc_websocket::SessionKind
source · pub enum SessionKind {
Keygen,
Sign,
}
Expand description
Represents the type of session.
Variants§
Trait Implementations§
source§impl Clone for SessionKind
impl Clone for SessionKind
source§fn clone(&self) -> SessionKind
fn clone(&self) -> SessionKind
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 SessionKind
impl Debug for SessionKind
source§impl Default for SessionKind
impl Default for SessionKind
source§impl<'de> Deserialize<'de> for SessionKind
impl<'de> Deserialize<'de> for SessionKind
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