pub struct VcKeyPackageBatch {
pub generation: u32,
pub key_packages: Vec<(KeyPackageBundle, KeyPackageInfo)>,
}Available on crate feature
virtual-clients-draft and (32-bit or 64-bit) only.Expand description
A batch of virtual-client KeyPackages a sibling can reproduce.
Build from a single epoch id and generation.
Fields§
§generation: u32The key_package operation generation consumed for the whole batch.
key_packages: Vec<(KeyPackageBundle, KeyPackageInfo)>One entry per KeyPackage built, in batch-index order. Never empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VcKeyPackageBatch
impl RefUnwindSafe for VcKeyPackageBatch
impl Send for VcKeyPackageBatch
impl Sync for VcKeyPackageBatch
impl Unpin for VcKeyPackageBatch
impl UnsafeUnpin for VcKeyPackageBatch
impl UnwindSafe for VcKeyPackageBatch
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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