pub enum ServeError {
DataDir(LockError),
MasterKey(KeyError),
WrongMasterKey,
Open(RegistryError),
Registry(TenantError),
KeysOutOfOrder(KeyOrder),
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.
KeysOutOfOrder(KeyOrder)
Some tenant’s data is not under its current key.
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 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