pub struct EncryptionKeysV59(/* private fields */);Implementations§
Source§impl EncryptionKeysV59
impl EncryptionKeysV59
pub fn get(&self, id: u64) -> Option<&EncryptionKey>
pub fn insert(&mut self, id: u64, key: EncryptionKey)
pub fn remove(&mut self, id: u64) -> Option<EncryptionKey>
Trait Implementations§
Source§impl Clone for EncryptionKeysV59
impl Clone for EncryptionKeysV59
Source§fn clone(&self) -> EncryptionKeysV59
fn clone(&self) -> EncryptionKeysV59
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EncryptionKeysV59
impl Debug for EncryptionKeysV59
Source§impl Default for EncryptionKeysV59
impl Default for EncryptionKeysV59
Source§fn default() -> EncryptionKeysV59
fn default() -> EncryptionKeysV59
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptionKeysV59
impl<'de> Deserialize<'de> for EncryptionKeysV59
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 From<EncryptionKeysV56> for EncryptionKeysV59
impl From<EncryptionKeysV56> for EncryptionKeysV59
Source§fn from(old: EncryptionKeysV56) -> Self
fn from(old: EncryptionKeysV56) -> Self
Converts to this type from the input type.
Source§impl From<EncryptionKeysV59> for BTreeMap<u64, WrappedKey>
impl From<EncryptionKeysV59> for BTreeMap<u64, WrappedKey>
Source§fn from(keys: EncryptionKeys) -> Self
fn from(keys: EncryptionKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncryptionKeysV59
impl PartialEq for EncryptionKeysV59
Source§impl Serialize for EncryptionKeysV59
impl Serialize for EncryptionKeysV59
impl StructuralPartialEq for EncryptionKeysV59
Source§impl TypeFingerprint for EncryptionKeysV59
impl TypeFingerprint for EncryptionKeysV59
fn fingerprint() -> String
Auto Trait Implementations§
impl Freeze for EncryptionKeysV59
impl RefUnwindSafe for EncryptionKeysV59
impl Send for EncryptionKeysV59
impl Sync for EncryptionKeysV59
impl Unpin for EncryptionKeysV59
impl UnsafeUnpin for EncryptionKeysV59
impl UnwindSafe for EncryptionKeysV59
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more