pub struct RevocationKey(/* private fields */);Expand description
A resource’s secret membership-revocation key (module docs, “Membership
privacy”). Random, created once per (kind, id) and never changed: a
changed key would make every edge holding an older snapshot miss every new
entry — revocation failing open. Travels only inside signed snapshots.
Implementations§
Trait Implementations§
Source§impl Clone for RevocationKey
impl Clone for RevocationKey
Source§impl Debug for RevocationKey
impl Debug for RevocationKey
Source§impl<'de> Deserialize<'de> for RevocationKey
impl<'de> Deserialize<'de> for RevocationKey
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 RevocationKey
Source§impl Hash for RevocationKey
impl Hash for RevocationKey
Source§impl PartialEq for RevocationKey
impl PartialEq for RevocationKey
Source§impl Serialize for RevocationKey
impl Serialize for RevocationKey
impl StructuralPartialEq for RevocationKey
Auto Trait Implementations§
impl Freeze for RevocationKey
impl RefUnwindSafe for RevocationKey
impl Send for RevocationKey
impl Sync for RevocationKey
impl Unpin for RevocationKey
impl UnsafeUnpin for RevocationKey
impl UnwindSafe for RevocationKey
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