pub enum ClientMsg {
RegisterKey {
nonce: u64,
pk: HexBytes<32>,
},
RequestReport {
user_data: HexBytes<64>,
},
RATLSAck(AckType),
RequestUUID,
RequestIndices {
key_hash: String,
},
}Expand description
Messages from clients to hosts
Variants§
RegisterKey
Gives the clients public part of the shared key and requests the enclaves part.
RequestReport
RATLSAck(AckType)
RequestUUID
Request the host’s UUID
RequestIndices
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClientMsg
impl<'de> Deserialize<'de> for ClientMsg
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
Auto Trait Implementations§
impl Freeze for ClientMsg
impl RefUnwindSafe for ClientMsg
impl Send for ClientMsg
impl Sync for ClientMsg
impl Unpin for ClientMsg
impl UnwindSafe for ClientMsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more