pub enum TenantError {
NotFound,
NameTaken,
BadName,
HoldsVcons,
UnderHold,
LimitReached,
AuditFailed,
Closing,
CliOnly,
BadScopes,
WrongKey,
Io,
}Expand description
Why a Tenants call was refused or failed.
Variants§
NotFound
No tenant has the id.
NameTaken
Another tenant has the name.
BadName
The name breaks the naming rule (good_name).
HoldsVcons
Removal::Empty was asked of a tenant that keeps versions.
UnderHold
Removal::Force was asked of a tenant with a uuid under a legal
hold.
LimitReached
The master key is at its wrap limit and must be rotated.
AuditFailed
The audit record could not be written, so nothing was done.
Closing
The tenant is being removed.
CliOnly
Only the command line may do this: make an operator key.
BadScopes
Scopes a key of its kind cannot hold.
WrongKey
server.sqlite was made under another master key.
Io
Trait Implementations§
Source§impl Clone for TenantError
impl Clone for TenantError
impl Copy for TenantError
Source§impl Debug for TenantError
impl Debug for TenantError
impl Eq for TenantError
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.
Source§impl PartialEq for TenantError
impl PartialEq for TenantError
impl StructuralPartialEq for TenantError
Auto Trait Implementations§
impl Freeze for TenantError
impl RefUnwindSafe for TenantError
impl Send for TenantError
impl Sync for TenantError
impl Unpin for TenantError
impl UnsafeUnpin for TenantError
impl UnwindSafe for TenantError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.