pub struct SignerIssueJob { /* private fields */ }Expand description
Issues the certificate a finalize request queued, at the backend of the order’s profile.
Implementations§
Trait Implementations§
Source§impl JobHandler for SignerIssueJob
impl JobHandler for SignerIssueJob
Source§fn abandon<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
job: &'life1 Job,
reason: &'life2 str,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn abandon<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
job: &'life1 Job,
reason: &'life2 str,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
The attempts ran out, the order expired under it, or the row could never
settle. An order left processing would be polled by its client until
it expired, saying nothing: record the failure instead, exactly once.
Source§fn kind(&self) -> &'static str
fn kind(&self) -> &'static str
The
jobs.kind this handler answers for. One handler per kind — the
registry refuses a second, since two would each get half the rows.Source§fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
job: &'life1 Job,
) -> Pin<Box<dyn Future<Output = JobOutcome> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
job: &'life1 Job,
) -> Pin<Box<dyn Future<Output = JobOutcome> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Runs one attempt. Read more
Source§fn lease(&self, _job: &Job) -> Option<Duration>
fn lease(&self, _job: &Job) -> Option<Duration>
How long one attempt at this row may take, and therefore how long the
lease is held. Read more
Source§fn recover<'life0, 'life1, 'async_trait>(
&'life0 self,
_queue: &'life1 JobQueue,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn recover<'life0, 'life1, 'async_trait>(
&'life0 self,
_queue: &'life1 JobQueue,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Re-derives work a previous process left unfinished. Run once, at startup,
before the loop begins. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SignerIssueJob
impl !UnwindSafe for SignerIssueJob
impl Freeze for SignerIssueJob
impl Send for SignerIssueJob
impl Sync for SignerIssueJob
impl Unpin for SignerIssueJob
impl UnsafeUnpin for SignerIssueJob
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more