pub struct EncryptionKeysV56(/* private fields */);Implementations§
Source§impl EncryptionKeysV56
impl EncryptionKeysV56
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 EncryptionKeysV56
impl Clone for EncryptionKeysV56
Source§fn clone(&self) -> EncryptionKeysV56
fn clone(&self) -> EncryptionKeysV56
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 EncryptionKeysV56
impl Debug for EncryptionKeysV56
Source§impl Default for EncryptionKeysV56
impl Default for EncryptionKeysV56
Source§fn default() -> EncryptionKeysV56
fn default() -> EncryptionKeysV56
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptionKeysV56
impl<'de> Deserialize<'de> for EncryptionKeysV56
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<EncryptionKeysV49> for EncryptionKeysV56
impl From<EncryptionKeysV49> for EncryptionKeysV56
Source§fn from(old: EncryptionKeysV49) -> Self
fn from(old: EncryptionKeysV49) -> Self
Converts to this type from the input type.
Source§impl From<EncryptionKeysV56> for BTreeMap<u64, WrappedKey>
impl From<EncryptionKeysV56> 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 EncryptionKeysV56
impl PartialEq for EncryptionKeysV56
Source§fn eq(&self, other: &EncryptionKeysV56) -> bool
fn eq(&self, other: &EncryptionKeysV56) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EncryptionKeysV56
impl Serialize for EncryptionKeysV56
impl StructuralPartialEq for EncryptionKeysV56
Source§impl TypeFingerprint for EncryptionKeysV56
impl TypeFingerprint for EncryptionKeysV56
fn fingerprint() -> String
Auto Trait Implementations§
impl Freeze for EncryptionKeysV56
impl RefUnwindSafe for EncryptionKeysV56
impl Send for EncryptionKeysV56
impl Sync for EncryptionKeysV56
impl Unpin for EncryptionKeysV56
impl UnsafeUnpin for EncryptionKeysV56
impl UnwindSafe for EncryptionKeysV56
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