pub struct GroupSecret(/* private fields */);
Expand description
Secret known by a group which is used to encrypt and decrypt data.
Group secrets can be used multiple times and are dropped never or manually by the application, thus providing a weaker forward secrecy than p2panda’s “message encryption” scheme.
Implementations§
Trait Implementations§
Source§impl Clone for GroupSecret
impl Clone for GroupSecret
Source§fn clone(&self) -> GroupSecret
fn clone(&self) -> GroupSecret
Returns a duplicate 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 GroupSecret
impl Debug for GroupSecret
Source§impl<'de> Deserialize<'de> for GroupSecret
impl<'de> Deserialize<'de> for GroupSecret
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 Hash for GroupSecret
impl Hash for GroupSecret
Source§impl PartialEq for GroupSecret
impl PartialEq for GroupSecret
Source§impl Serialize for GroupSecret
impl Serialize for GroupSecret
impl Eq for GroupSecret
impl StructuralPartialEq for GroupSecret
Auto Trait Implementations§
impl Freeze for GroupSecret
impl RefUnwindSafe for GroupSecret
impl Send for GroupSecret
impl Sync for GroupSecret
impl Unpin for GroupSecret
impl UnwindSafe for GroupSecret
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