Struct openmls::treesync::ParentNode
source · [−]pub struct ParentNode { /* private fields */ }
Expand description
This struct implements the MLS parent node. It contains its public key, parent hash and unmerged leaves. Additionally, it may contain the private key corresponding to the public key.
Trait Implementations
sourceimpl Clone for ParentNode
impl Clone for ParentNode
sourcefn clone(&self) -> ParentNode
fn clone(&self) -> ParentNode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ParentNode
impl Debug for ParentNode
sourceimpl Deserialize for ParentNode
impl Deserialize for ParentNode
sourcefn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error> where
Self: Sized,
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error> where
Self: Sized,
This function deserializes the bytes
from the provided a std::io::Read
and returns the populated struct. Read more
sourceimpl<'de> Deserialize<'de> for ParentNode
impl<'de> Deserialize<'de> for ParentNode
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 From<(HpkePublicKey, HpkePrivateKey)> for ParentNode
impl From<(HpkePublicKey, HpkePrivateKey)> for ParentNode
sourceimpl PartialEq<ParentNode> for ParentNode
impl PartialEq<ParentNode> for ParentNode
sourcefn eq(&self, other: &ParentNode) -> bool
fn eq(&self, other: &ParentNode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParentNode) -> bool
fn ne(&self, other: &ParentNode) -> bool
This method tests for !=
.
sourceimpl Serialize for &ParentNode
impl Serialize for &ParentNode
sourceimpl Serialize for ParentNode
impl Serialize for ParentNode
sourceimpl Size for ParentNode
impl Size for ParentNode
fn tls_serialized_len(&self) -> usize
sourceimpl Size for &ParentNode
impl Size for &ParentNode
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for ParentNode
Auto Trait Implementations
impl RefUnwindSafe for ParentNode
impl Send for ParentNode
impl Sync for ParentNode
impl Unpin for ParentNode
impl UnwindSafe for ParentNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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