pub struct ProfileParts {
pub signer: Arc<dyn SignerBackend>,
pub filter: Arc<FilterPolicy>,
pub challenges: Arc<ChallengeRegistry>,
pub order: OrderConfig,
pub eab: EabConfig,
pub meta: MetaConfig,
pub notify: Arc<NotifyDispatcher>,
}Expand description
The subsystems and per-endpoint sections a Profile is assembled from.
A struct because Profile::new took nine positional parameters, four of
them Arc<dyn …> or config sections that a reader has to count commas to
tell apart. It also retires the crate’s last
#[allow(clippy::too_many_arguments)].
name and base_url stay positional: they are what the constructor
derives from rather than stores, and keeping them out of here is what
makes “the path is never configured” visible in the signature.
Fields§
§signer: Arc<dyn SignerBackend>§filter: Arc<FilterPolicy>§challenges: Arc<ChallengeRegistry>§order: OrderConfig§eab: EabConfig§meta: MetaConfig§notify: Arc<NotifyDispatcher>Auto Trait Implementations§
impl !RefUnwindSafe for ProfileParts
impl !UnwindSafe for ProfileParts
impl Freeze for ProfileParts
impl Send for ProfileParts
impl Sync for ProfileParts
impl Unpin for ProfileParts
impl UnsafeUnpin for ProfileParts
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