pub enum ClientRpcResponse {
Challenge {
challenge_nonce: [u8; 32],
expires_at_unix: u64,
},
Enrolled {
cert_bytes: Vec<u8>,
ca_public_key: [u8; 32],
},
Rejected {
reason: String,
},
}Expand description
Coordinator -> Client RPC responses.
Variants§
Trait Implementations§
Source§impl Clone for ClientRpcResponse
impl Clone for ClientRpcResponse
Source§impl Debug for ClientRpcResponse
impl Debug for ClientRpcResponse
Source§impl<'de> Deserialize<'de> for ClientRpcResponse
impl<'de> Deserialize<'de> for ClientRpcResponse
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
impl Eq for ClientRpcResponse
Source§impl PartialEq for ClientRpcResponse
impl PartialEq for ClientRpcResponse
Source§impl Serialize for ClientRpcResponse
impl Serialize for ClientRpcResponse
impl StructuralPartialEq for ClientRpcResponse
Auto Trait Implementations§
impl Freeze for ClientRpcResponse
impl RefUnwindSafe for ClientRpcResponse
impl Send for ClientRpcResponse
impl Sync for ClientRpcResponse
impl Unpin for ClientRpcResponse
impl UnsafeUnpin for ClientRpcResponse
impl UnwindSafe for ClientRpcResponse
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