#[non_exhaustive]pub struct PendingWaitpoint {
pub waitpoint_id: WaitpointId,
pub hmac_token: WaitpointHmac,
}Expand description
Handle returned by create_waitpoint — the id of the newly-minted
pending waitpoint plus its HMAC token. Signals targeted at the
waitpoint must present the token; a later suspend call transitions
the waitpoint from pending to active (RFC-012 §R7.2.2).
WaitpointHmac redacts on Debug/Display, so deriving Debug
here cannot leak the raw digest.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.waitpoint_id: WaitpointId§hmac_token: WaitpointHmacImplementations§
Source§impl PendingWaitpoint
impl PendingWaitpoint
pub fn new(waitpoint_id: WaitpointId, hmac_token: WaitpointHmac) -> Self
Trait Implementations§
Source§impl Clone for PendingWaitpoint
impl Clone for PendingWaitpoint
Source§fn clone(&self) -> PendingWaitpoint
fn clone(&self) -> PendingWaitpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 PendingWaitpoint
impl Debug for PendingWaitpoint
Source§impl PartialEq for PendingWaitpoint
impl PartialEq for PendingWaitpoint
impl Eq for PendingWaitpoint
impl StructuralPartialEq for PendingWaitpoint
Auto Trait Implementations§
impl Freeze for PendingWaitpoint
impl RefUnwindSafe for PendingWaitpoint
impl Send for PendingWaitpoint
impl Sync for PendingWaitpoint
impl Unpin for PendingWaitpoint
impl UnsafeUnpin for PendingWaitpoint
impl UnwindSafe for PendingWaitpoint
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