pub enum CertError {
Unimplemented {
detail: String,
},
Acme(String),
Io(Error),
Rustls(Error),
NotTailnetName(String),
}Expand description
Errors from certificate acquisition / TLS material assembly.
Fail-closed by construction: there is no variant that yields a usable cert without a genuine issuance path, and there is deliberately no self-signed production fallback.
Variants§
Unimplemented
The control plane in this fork does not expose the RPC(s) needed to mint
a real certificate. detail names exactly what is missing.
Fields
§
detail: StringNames exactly which control RPC is missing (e.g. MISSING_CERT_RPC).
Acme(String)
An ACME-protocol-level failure (order/challenge/finalize).
Io(Error)
I/O failure (network, file, etc.).
Rustls(Error)
A rustls / crypto-material failure (bad key, mismatched cert, provider).
NotTailnetName(String)
The requested name is not a tailnet (*.ts.net-style) name. Anti-leak:
we never mint or serve certs for off-tailnet names.
Trait Implementations§
Source§impl Error for CertError
impl Error for CertError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CertError> for FunnelError
impl From<CertError> for FunnelError
Auto Trait Implementations§
impl !RefUnwindSafe for CertError
impl !UnwindSafe for CertError
impl Freeze for CertError
impl Send for CertError
impl Sync for CertError
impl Unpin for CertError
impl UnsafeUnpin for CertError
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