pub enum CommandError {
DataDir(LockError),
MasterKey(KeyError),
WrongMasterKey,
BadPeriod(String),
Tenant(TenantError),
Open(RegistryError),
UnknownKey,
Output(Error),
SameMasterKey,
CheckFound(usize),
Backup(BackupError),
}Expand description
Why a command did not complete.
Variants§
DataDir(LockError)
MasterKey(KeyError)
WrongMasterKey
server.sqlite was made under another master key.
BadPeriod(String)
A period that is neither like 7y, 18m or 90d nor, where allowed,
default.
Tenant(TenantError)
Open(RegistryError)
The registry could not be opened.
UnknownKey
No key has this id.
Output(Error)
The output could not be written.
SameMasterKey
The new master key is the one already in use.
CheckFound(usize)
check found this many problems; its report says which.
Backup(BackupError)
Trait Implementations§
Source§impl Debug for CommandError
impl Debug for CommandError
Source§impl Display for CommandError
impl Display for CommandError
Source§impl From<TenantError> for CommandError
impl From<TenantError> for CommandError
Source§fn from(e: TenantError) -> CommandError
fn from(e: TenantError) -> CommandError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CommandError
impl !UnwindSafe for CommandError
impl Freeze for CommandError
impl Send for CommandError
impl Sync for CommandError
impl Unpin for CommandError
impl UnsafeUnpin for CommandError
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