pub struct DeviceDecapsulation {
pub shared_secret: DeviceSharedSecret,
pub cleanup: DeviceErasure,
}Expand description
Opaque decapsulation result. Correct-size malformed ciphertexts follow implicit rejection entirely on device; no validity flag is exposed.
Fields§
Retained secret selected by the implicit-rejection algorithm.
cleanup: DeviceErasureSecret-derived workspace erasure completion, excluding shared_secret.
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceDecapsulation
impl !Send for DeviceDecapsulation
impl !Sync for DeviceDecapsulation
impl !UnwindSafe for DeviceDecapsulation
impl Forget for DeviceDecapsulation
impl Freeze for DeviceDecapsulationwhere
*const RcInner<RefCell<RuntimeState>> is !null: Freeze,
PhantomData<RcInner<RefCell<RuntimeState>>>: Freeze,
*const ArcInner<SecretBuffer> is !null: Freeze,
PhantomData<ArcInner<SecretBuffer>>: Freeze,
*const ArcInner<Device> is !null: Freeze,
PhantomData<ArcInner<Device>>: Freeze,
*const ArcInner<RetirementCompletion> is !null: Freeze,
PhantomData<ArcInner<RetirementCompletion>>: Freeze,
*const ArcInner<WorkerControl> is !null: Freeze,
PhantomData<ArcInner<WorkerControl>>: Freeze,
*const ArcInner<TimestampPairInner> is !null: Freeze,
PhantomData<ArcInner<TimestampPairInner>>: Freeze,
*const ArcInner<Mutex<Vec<Arc<DecodeStatus>>>> is !null: Freeze,
PhantomData<ArcInner<Mutex<Vec<Arc<DecodeStatus>>>>>: Freeze,
*const ArcInner<Mutex<Vec<Arc<EncodeReceipt>>>> is !null: Freeze,
PhantomData<ArcInner<Mutex<Vec<Arc<EncodeReceipt>>>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<Arc<Atomic<u8>>>: Freeze,
impl Move for DeviceDecapsulation
impl Unpin for DeviceDecapsulationwhere
Rc<RefCell<RuntimeState>>: Unpin,
Arc<SecretBuffer>: Unpin,
Arc<Device>: Unpin,
Arc<RetirementCompletion>: Unpin,
Arc<WorkerControl>: Unpin,
Arc<TimestampPairInner>: Unpin,
Arc<Mutex<Vec<Arc<DecodeStatus>>>>: Unpin,
Arc<Mutex<Vec<Arc<EncodeReceipt>>>>: Unpin,
*const u8 is !null: Unpin,
Arc<Atomic<u8>>: Unpin,
impl UnsafeUnpin for DeviceDecapsulationwhere
*const RcInner<RefCell<RuntimeState>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<RuntimeState>>>: UnsafeUnpin,
*const ArcInner<SecretBuffer> is !null: UnsafeUnpin,
PhantomData<ArcInner<SecretBuffer>>: UnsafeUnpin,
*const ArcInner<Device> is !null: UnsafeUnpin,
PhantomData<ArcInner<Device>>: UnsafeUnpin,
*const ArcInner<RetirementCompletion> is !null: UnsafeUnpin,
PhantomData<ArcInner<RetirementCompletion>>: UnsafeUnpin,
*const ArcInner<WorkerControl> is !null: UnsafeUnpin,
PhantomData<ArcInner<WorkerControl>>: UnsafeUnpin,
*const ArcInner<TimestampPairInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<TimestampPairInner>>: UnsafeUnpin,
*const ArcInner<Mutex<Vec<Arc<DecodeStatus>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Vec<Arc<DecodeStatus>>>>>: UnsafeUnpin,
*const ArcInner<Mutex<Vec<Arc<EncodeReceipt>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Vec<Arc<EncodeReceipt>>>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Arc<Atomic<u8>>>: UnsafeUnpin,
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