pub enum ServeError {
DataDir(LockError),
MasterKey(KeyError),
WrongMasterKey,
Open(RegistryError),
Registry(TenantError),
Storage(StorageError),
KeysOutOfOrder(KeyOrder),
ParquetRemoved {
tenants: u64,
},
Tls(TlsError),
Listen(Error),
Serve(Error),
}Expand description
Why the server did not start, or stopped.
Variants§
DataDir(LockError)
The data directory could not be taken.
MasterKey(KeyError)
The master key file could not be read.
WrongMasterKey
server.sqlite was made under another master key.
Open(RegistryError)
The registry could not be opened.
Registry(TenantError)
server.sqlite could not be read.
Storage(StorageError)
The storage the configuration names cannot be used.
KeysOutOfOrder(KeyOrder)
Some tenant’s data is not under its current key.
ParquetRemoved
tenants tenants have packed versions, and the configuration has no
[storage.parquet].
Tls(TlsError)
The certificate or key could not be used.
Listen(Error)
The listening address could not be bound.
Serve(Error)
Serving failed.
Trait Implementations§
Source§impl Debug for ServeError
impl Debug for ServeError
Auto Trait Implementations§
impl !RefUnwindSafe for ServeError
impl !UnwindSafe for ServeError
impl Forget for ServeError
impl Freeze for ServeError
impl Send for ServeError
impl Sync for ServeError
impl Unpin for ServeError
impl UnsafeUnpin for ServeError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreCreates a shared type from an unshared type.