Enum lock_keeper::types::operations::ClientAction
source · pub enum ClientAction {
Show 19 variants
Authenticate = 0,
CreateStorageKey = 1,
ExportSecret = 2,
ExportSigningKey = 3,
GenerateSecret = 4,
GetUserId = 5,
ImportSigningKey = 6,
Logout = 7,
Register = 8,
RemoteGenerateSigningKey = 9,
RemoteSignBytes = 10,
RetrieveSecret = 11,
RetrieveAuditEvents = 12,
RetrieveSigningKey = 13,
RetrieveStorageKey = 14,
RetrieveServerEncryptedBlob = 15,
StoreServerEncryptedBlob = 16,
CheckSession = 17,
DeleteKey = 18,
}
Expand description
Options for actions the Lock Keeper client can take. We explicitly assign discriminant values to this type, as it will be stored in the our database.
Variants§
Authenticate = 0
CreateStorageKey = 1
ExportSecret = 2
ExportSigningKey = 3
GenerateSecret = 4
GetUserId = 5
ImportSigningKey = 6
Logout = 7
Register = 8
RemoteGenerateSigningKey = 9
RemoteSignBytes = 10
RetrieveSecret = 11
RetrieveAuditEvents = 12
RetrieveSigningKey = 13
RetrieveStorageKey = 14
RetrieveServerEncryptedBlob = 15
StoreServerEncryptedBlob = 16
CheckSession = 17
DeleteKey = 18
Trait Implementations§
source§impl Clone for ClientAction
impl Clone for ClientAction
source§fn clone(&self) -> ClientAction
fn clone(&self) -> ClientAction
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 ClientAction
impl Debug for ClientAction
source§impl<'de> Deserialize<'de> for ClientAction
impl<'de> Deserialize<'de> for ClientAction
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
source§impl Display for ClientAction
impl Display for ClientAction
source§impl FromStr for ClientAction
impl FromStr for ClientAction
source§impl Hash for ClientAction
impl Hash for ClientAction
source§impl IntoEnumIterator for ClientAction
impl IntoEnumIterator for ClientAction
type Iterator = ClientActionIter
fn iter() -> ClientActionIter ⓘ
source§impl PartialEq for ClientAction
impl PartialEq for ClientAction
source§fn eq(&self, other: &ClientAction) -> bool
fn eq(&self, other: &ClientAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClientAction
impl Serialize for ClientAction
source§impl TryFrom<&str> for ClientAction
impl TryFrom<&str> for ClientAction
source§impl TryFrom<i64> for ClientAction
impl TryFrom<i64> for ClientAction
impl Copy for ClientAction
impl Eq for ClientAction
impl StructuralPartialEq for ClientAction
Auto Trait Implementations§
impl Freeze for ClientAction
impl RefUnwindSafe for ClientAction
impl Send for ClientAction
impl Sync for ClientAction
impl Unpin for ClientAction
impl UnwindSafe for ClientAction
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
source§impl<T> ConvertMessage for Twhere
T: for<'a> Deserialize<'a> + Serialize,
impl<T> ConvertMessage for Twhere
T: for<'a> Deserialize<'a> + Serialize,
fn from_message(value: Message) -> Result<Self, LockKeeperError>
fn to_message(self) -> Result<Message, LockKeeperError>
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request