pub struct AssignedConsumerAssignmentCapture<'handle> { /* private fields */ }Expand description
One absolute assignment deadline bound to one mutably borrowed handle.
Consuming this token is the only way to admit the corresponding assignment, so safe Rust prevents reuse or admission through another handle.
Implementations§
Source§impl<'handle> AssignedConsumerAssignmentCapture<'handle>
impl<'handle> AssignedConsumerAssignmentCapture<'handle>
Sourcepub fn try_replace_assignment(
self,
entries: Vec<AssignedConsumerAssignment>,
) -> Result<AssignedConsumerTryReplaceAssignmentAccepted, AssignedConsumerTryReplaceAssignmentError>
pub fn try_replace_assignment( self, entries: Vec<AssignedConsumerAssignment>, ) -> Result<AssignedConsumerTryReplaceAssignmentAccepted, AssignedConsumerTryReplaceAssignmentError>
Consumes this exact capture while attempting all-or-nothing admission.
Trait Implementations§
Auto Trait Implementations§
impl<'handle> !RefUnwindSafe for AssignedConsumerAssignmentCapture<'handle>
impl<'handle> !Sync for AssignedConsumerAssignmentCapture<'handle>
impl<'handle> !UnwindSafe for AssignedConsumerAssignmentCapture<'handle>
impl<'handle> Freeze for AssignedConsumerAssignmentCapture<'handle>
impl<'handle> Send for AssignedConsumerAssignmentCapture<'handle>
impl<'handle> Unpin for AssignedConsumerAssignmentCapture<'handle>
impl<'handle> UnsafeUnpin for AssignedConsumerAssignmentCapture<'handle>
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