pub struct RotationMaterial { /* private fields */ }Expand description
Fresh per-candidate material, owned in protected storage before package creation.
Implementations§
Source§impl RotationMaterial
impl RotationMaterial
pub fn generate() -> Result<Self>
pub fn protected_storage_bytes(&self) -> Zeroizing<Vec<u8>>
pub fn validate_generation(&self, membership: &Membership) -> Result<()>
pub fn from_protected_storage(bytes: &[u8]) -> Result<Self>
Auto Trait Implementations§
impl Freeze for RotationMaterial
impl RefUnwindSafe for RotationMaterial
impl Send for RotationMaterial
impl Sync for RotationMaterial
impl Unpin for RotationMaterial
impl UnsafeUnpin for RotationMaterial
impl UnwindSafe for RotationMaterial
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