pub struct FrankenGroupSecrets {
pub joiner_secret: FrankenJoinerSecret,
pub path_secret: Option<FrankenPathSecret>,
pub psks: Vec<FrankenPreSharedKeyId>,
}Available on (32-bit or 64-bit) and (crate features
test-utils) only.Fields§
§joiner_secret: FrankenJoinerSecret§path_secret: Option<FrankenPathSecret>§psks: Vec<FrankenPreSharedKeyId>Implementations§
Source§impl FrankenGroupSecrets
impl FrankenGroupSecrets
pub fn psk_ids(&self) -> Vec<PreSharedKeyId>
pub fn psk_secret<Crypto, Storage>(
&self,
ciphersuite: Ciphersuite,
crypto: &Crypto,
storage: &Storage,
) -> Result<PskSecret, PskError>where
Crypto: OpenMlsCrypto,
Storage: StorageProvider,
Trait Implementations§
Source§impl Clone for FrankenGroupSecrets
impl Clone for FrankenGroupSecrets
Source§fn clone(&self) -> FrankenGroupSecrets
fn clone(&self) -> FrankenGroupSecrets
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 FrankenGroupSecrets
impl Debug for FrankenGroupSecrets
Source§impl Deserialize for FrankenGroupSecrets
impl Deserialize for FrankenGroupSecrets
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl DeserializeBytes for FrankenGroupSecrets
impl DeserializeBytes for FrankenGroupSecrets
impl Eq for FrankenGroupSecrets
Source§impl PartialEq for FrankenGroupSecrets
impl PartialEq for FrankenGroupSecrets
Source§impl Serialize for FrankenGroupSecrets
impl Serialize for FrankenGroupSecrets
Source§impl Serialize for &FrankenGroupSecrets
impl Serialize for &FrankenGroupSecrets
Source§impl Size for FrankenGroupSecrets
impl Size for FrankenGroupSecrets
fn tls_serialized_len(&self) -> usize
Source§impl Size for &FrankenGroupSecrets
impl Size for &FrankenGroupSecrets
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for FrankenGroupSecrets
Auto Trait Implementations§
impl Freeze for FrankenGroupSecrets
impl RefUnwindSafe for FrankenGroupSecrets
impl Send for FrankenGroupSecrets
impl Sync for FrankenGroupSecrets
impl Unpin for FrankenGroupSecrets
impl UnsafeUnpin for FrankenGroupSecrets
impl UnwindSafe for FrankenGroupSecrets
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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