pub struct UnconfiguredDnsProvider;Expand description
Fail-closed no-op provider used when a deployment wires no DNS backend.
Every operation returns DnsError::Unconfigured. This is the sane-degrade
behavior at the DNS layer: DNS-01 wildcard issuance cannot proceed without a
real backend, and silent success would leave the deployment serving a
self-signed cert (or none) under a zone it never proved control of.
Implementations§
Trait Implementations§
Source§impl Clone for UnconfiguredDnsProvider
impl Clone for UnconfiguredDnsProvider
Source§fn clone(&self) -> UnconfiguredDnsProvider
fn clone(&self) -> UnconfiguredDnsProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnconfiguredDnsProvider
impl Debug for UnconfiguredDnsProvider
Source§impl Default for UnconfiguredDnsProvider
impl Default for UnconfiguredDnsProvider
Source§fn default() -> UnconfiguredDnsProvider
fn default() -> UnconfiguredDnsProvider
Returns the “default value” for a type. Read more
Source§impl Display for UnconfiguredDnsProvider
impl Display for UnconfiguredDnsProvider
Source§impl DnsProvider for UnconfiguredDnsProvider
impl DnsProvider for UnconfiguredDnsProvider
Source§fn backend(&self) -> &'static str
fn backend(&self) -> &'static str
Human-readable backend identifier (e.g.
"unconfigured", "powerdns",
"route53"). Used in logs and the expiry alarm.Source§fn publish_txt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_zone: &'life1 AccountZone,
owner: &'life2 str,
_value: &'life3 str,
_ttl: u32,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn publish_txt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_zone: &'life1 AccountZone,
owner: &'life2 str,
_value: &'life3 str,
_ttl: u32,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Publish a TXT record at
owner (a fully-qualified name, no trailing
dot) with value for the ACME DNS-01 challenge. ttl is a hint in
seconds; backends may clamp. The record must be retrievable by public
resolvers within ~minutes. Read moreSource§fn delete_txt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_zone: &'life1 AccountZone,
owner: &'life2 str,
_value: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn delete_txt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_zone: &'life1 AccountZone,
owner: &'life2 str,
_value: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Delete the TXT record previously published by
Self::publish_txt.
Must be idempotent (deleting a record that is already gone is success).Source§fn publish_wildcard_a<'life0, 'life1, 'async_trait>(
&'life0 self,
zone: &'life1 AccountZone,
_target: Ipv4Addr,
_ttl: u32,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn publish_wildcard_a<'life0, 'life1, 'async_trait>(
&'life0 self,
zone: &'life1 AccountZone,
_target: Ipv4Addr,
_ttl: u32,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Publish the wildcard A record (
*.<apex>) for the delegated zone. The
record covers exactly one label — alice.<apex> resolves, but
a.b.<apex> does not.Source§fn publish_wildcard_aaaa<'life0, 'life1, 'async_trait>(
&'life0 self,
zone: &'life1 AccountZone,
_target: Ipv6Addr,
_ttl: u32,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn publish_wildcard_aaaa<'life0, 'life1, 'async_trait>(
&'life0 self,
zone: &'life1 AccountZone,
_target: Ipv6Addr,
_ttl: u32,
) -> Pin<Box<dyn Future<Output = Result<(), DnsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Publish the wildcard AAAA record (
*.<apex>) for the delegated zone.impl Copy for UnconfiguredDnsProvider
Auto Trait Implementations§
impl Freeze for UnconfiguredDnsProvider
impl RefUnwindSafe for UnconfiguredDnsProvider
impl Send for UnconfiguredDnsProvider
impl Sync for UnconfiguredDnsProvider
impl Unpin for UnconfiguredDnsProvider
impl UnsafeUnpin for UnconfiguredDnsProvider
impl UnwindSafe for UnconfiguredDnsProvider
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<T> JaggedSlice<T> for T
impl<T> JaggedSlice<T> for T
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more