pub enum Error {
AuthPrivKey(String),
AuthPubKey(String),
UnauthenticatedPublicBind {
addr: SocketAddr,
},
NoSlatedbSupport,
NoCloudflareKvSupport,
NoFsSupport,
NoS3Support,
NoGcsSupport,
NoAzureSupport,
Envelope(String),
}Expand description
A node-assembly error. Variants are feature-gated to the assembly path that produces them, matching the crate’s forwarded features.
Variants§
AuthPrivKey(String)
A token root private key (hex) failed to parse, or an external signer (KMS/HSM/Vault) failed to build / resolve its public key.
AuthPubKey(String)
A token root public key (hex) failed to parse.
UnauthenticatedPublicBind
Refusing to bind a non-loopback address with control-plane auth disabled.
Set auth keys, bind a loopback address, or — for local dev —
relax allow_unauthenticated_public_bind in [security] (the dev profile).
Fields
addr: SocketAddrNoSlatedbSupport
--kv slatedb selected but this build lacks SlateDB support.
NoCloudflareKvSupport
--kv cloudflare selected but this build lacks Cloudflare KV support.
NoFsSupport
--blobs fs selected but this build lacks filesystem blob support.
NoS3Support
--blobs s3 selected but this build lacks S3 support.
NoGcsSupport
--blobs gcs selected but this build lacks GCS support.
NoAzureSupport
--blobs azure selected but this build lacks Azure support.
Envelope(String)
Building the [secrets] envelope (local KEK / Vault) failed.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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