pub struct UpdateValidationNext<'a> { /* private fields */ }Expand description
Continues an update-validation chain; the innermost next runs the validator.
Implementations§
Source§impl<'a> UpdateValidationNext<'a>
impl<'a> UpdateValidationNext<'a>
Sourcepub fn run(self) -> InterceptorFuture<'a, Result<UpdateValidationOutcome>>
pub fn run(self) -> InterceptorFuture<'a, Result<UpdateValidationOutcome>>
Run the rest of the chain and the validator with the task as received.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for UpdateValidationNext<'a>
impl<'a> !Sync for UpdateValidationNext<'a>
impl<'a> !UnwindSafe for UpdateValidationNext<'a>
impl<'a> Forget for UpdateValidationNext<'a>
impl<'a> Freeze for UpdateValidationNext<'a>where
&'a [RegisteredInterceptor]: Freeze,
&'a Atomic<usize>: Freeze,
&'a UpdateValidationInterceptorContext: Freeze,
*const dyn Future<Output = Result<(), (&'static str, UpdateRejection)>> + Send + 'a is !null: Freeze,
PhantomData<dyn Future<Output = Result<(), (&'static str, UpdateRejection)>> + Send + 'a>: Freeze,
&'a Mutex<Option<Result<(), (&'static str, UpdateRejection)>>>: Freeze,
&'a Atomic<bool>: Freeze,
impl<'a> Move for UpdateValidationNext<'a>
impl<'a> Send for UpdateValidationNext<'a>
impl<'a> Unpin for UpdateValidationNext<'a>where
&'a [RegisteredInterceptor]: Unpin,
&'a Atomic<usize>: Unpin,
&'a UpdateValidationInterceptorContext: Unpin,
Box<dyn Future<Output = Result<(), (&'static str, UpdateRejection)>> + Send + 'a>: Unpin,
&'a Mutex<Option<Result<(), (&'static str, UpdateRejection)>>>: Unpin,
&'a Atomic<bool>: Unpin,
impl<'a> UnsafeUnpin for UpdateValidationNext<'a>where
&'a [RegisteredInterceptor]: UnsafeUnpin,
&'a Atomic<usize>: UnsafeUnpin,
&'a UpdateValidationInterceptorContext: UnsafeUnpin,
*const dyn Future<Output = Result<(), (&'static str, UpdateRejection)>> + Send + 'a is !null: UnsafeUnpin,
PhantomData<dyn Future<Output = Result<(), (&'static str, UpdateRejection)>> + Send + 'a>: UnsafeUnpin,
&'a Mutex<Option<Result<(), (&'static str, UpdateRejection)>>>: UnsafeUnpin,
&'a Atomic<bool>: 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