Struct pasetors::keys::SymmetricKey
source · [−]pub struct SymmetricKey<V> { /* private fields */ }Expand description
A symmetric key used for .local tokens, given a version V.
Implementations
Trait Implementations
sourceimpl<V> Debug for SymmetricKey<V>
impl<V> Debug for SymmetricKey<V>
sourceimpl<'de, V> Deserialize<'de> for SymmetricKey<V>where
SymmetricKey<V>: TryFrom<&'de str>,
<SymmetricKey<V> as TryFrom<&'de str>>::Error: Display,
Available on crate features serde and std only.
impl<'de, V> Deserialize<'de> for SymmetricKey<V>where
SymmetricKey<V>: TryFrom<&'de str>,
<SymmetricKey<V> as TryFrom<&'de str>>::Error: Display,
Available on crate features
serde and std only.sourcefn 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
sourceimpl<V> Drop for SymmetricKey<V>
impl<V> Drop for SymmetricKey<V>
sourceimpl FormatAsPaserk for SymmetricKey<V2>
Available on crate feature paserk only.
impl FormatAsPaserk for SymmetricKey<V2>
Available on crate feature
paserk only.sourceimpl FormatAsPaserk for SymmetricKey<V4>
Available on crate feature paserk only.
impl FormatAsPaserk for SymmetricKey<V4>
Available on crate feature
paserk only.sourceimpl From<&SymmetricKey<V2>> for Id
Available on crate feature paserk only.
impl From<&SymmetricKey<V2>> for Id
Available on crate feature
paserk only.sourcefn from(key: &SymmetricKey<V2>) -> Self
fn from(key: &SymmetricKey<V2>) -> Self
Converts to this type from the input type.
sourceimpl From<&SymmetricKey<V4>> for Id
Available on crate feature paserk only.
impl From<&SymmetricKey<V4>> for Id
Available on crate feature
paserk only.sourcefn from(key: &SymmetricKey<V4>) -> Self
fn from(key: &SymmetricKey<V4>) -> Self
Converts to this type from the input type.
sourceimpl Generate<SymmetricKey<V2>, V2> for SymmetricKey<V2>
Available on crate feature v2 only.
impl Generate<SymmetricKey<V2>, V2> for SymmetricKey<V2>
Available on crate feature
v2 only.sourceimpl Generate<SymmetricKey<V4>, V4> for SymmetricKey<V4>
Available on crate feature v4 only.
impl Generate<SymmetricKey<V4>, V4> for SymmetricKey<V4>
Available on crate feature
v4 only.sourceimpl<V: Version> PartialEq<SymmetricKey<V>> for SymmetricKey<V>
impl<V: Version> PartialEq<SymmetricKey<V>> for SymmetricKey<V>
sourcefn eq(&self, other: &SymmetricKey<V>) -> bool
fn eq(&self, other: &SymmetricKey<V>) -> bool
sourceimpl<V> Serialize for SymmetricKey<V>where
SymmetricKey<V>: FormatAsPaserk,
Available on crate features paserk and serde only.
impl<V> Serialize for SymmetricKey<V>where
SymmetricKey<V>: FormatAsPaserk,
Available on crate features
paserk and serde only.sourceimpl TryFrom<&str> for SymmetricKey<V2>
Available on crate feature paserk only.
impl TryFrom<&str> for SymmetricKey<V2>
Available on crate feature
paserk only.Auto Trait Implementations
impl<V> RefUnwindSafe for SymmetricKey<V>where
V: RefUnwindSafe,
impl<V> Send for SymmetricKey<V>where
V: Send,
impl<V> Sync for SymmetricKey<V>where
V: Sync,
impl<V> Unpin for SymmetricKey<V>where
V: Unpin,
impl<V> UnwindSafe for SymmetricKey<V>where
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more