pub struct TlsHost {
pub customer_app: String,
pub runtime: TlsRuntimeServices,
/* private fields */
}Fields§
§customer_app: String§runtime: TlsRuntimeServicesImplementations§
Source§impl TlsHost
impl TlsHost
pub fn status(&self) -> TlsStatusSnapshot
pub fn issue_for_bindings( &self, bindings: Vec<HostnameBinding>, ) -> Result<IssuancePlan, RuntimeTlsError>
pub fn validate_challenge_for_bindings( &self, bindings: Vec<HostnameBinding>, ) -> Result<ChallengeValidation, RuntimeTlsError>
pub fn import_certificate( &mut self, record: CertificateRecord, ) -> Result<(), RuntimeTlsError>
pub fn import_manual_certificate( &mut self, bundle: ManualCertificateBundle, ) -> Result<(), RuntimeTlsError>
pub fn certificate_material( &self, certificate_id: &CertificateId, ) -> Result<CertificateMaterial, RuntimeTlsError>
pub fn issue_certificate( &mut self, bindings: Vec<HostnameBinding>, certificate_id: CertificateId, now: TlsInstant, ) -> Result<CertificateRecord, RuntimeTlsError>
pub fn renew_certificate( &mut self, certificate_id: &CertificateId, replacement_certificate_id: CertificateId, now: TlsInstant, ) -> Result<CertificateRecord, RuntimeTlsError>
pub fn queue_renewal( &mut self, certificate_id: &CertificateId, now: TlsInstant, ) -> Result<RenewalPlan, RuntimeTlsError>
pub fn begin_renewal( &mut self, certificate_id: &CertificateId, replacement_certificate_id: CertificateId, ) -> Result<ChallengeTicket, RuntimeTlsError>
pub fn fail_renewal( &mut self, certificate_id: &CertificateId, ) -> Result<CertificateRecord, RuntimeTlsError>
pub fn activate_replacement( &mut self, certificate_id: &CertificateId, replacement: CertificateRecord, ) -> Result<HotReloadEvent, RuntimeTlsError>
pub fn control_plane(&self) -> &TlsControlPlaneRuntime
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsHost
impl !RefUnwindSafe for TlsHost
impl Send for TlsHost
impl Sync for TlsHost
impl Unpin for TlsHost
impl UnsafeUnpin for TlsHost
impl !UnwindSafe for TlsHost
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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