pub enum DbDeclError {
BlankName {
index: usize,
},
DuplicateName {
name: String,
},
SnapshotWithoutDurability {
name: String,
},
SnapshotSubjectNotDurable {
name: String,
subject: String,
},
VendWithoutSqlPort {
name: String,
},
VendWithoutVerifyKey {
name: String,
},
CapabilityPortUndeclared {
capability: String,
port: String,
},
}Expand description
A [[db]] row that cannot be acted on.
Variants§
BlankName
DuplicateName
SnapshotWithoutDurability
snapshot restores from durability.store; with no [durability]
there is nothing to restore from.
SnapshotSubjectNotDurable
VendWithoutSqlPort
vend serves on the mesh port named sql; none is declared.
VendWithoutVerifyKey
vend verifies camp tokens; no verify-key secret is mounted.
CapabilityPortUndeclared
A capabilities row names a port expose.mesh.ports does not.
Trait Implementations§
Source§impl Clone for DbDeclError
impl Clone for DbDeclError
Source§impl Debug for DbDeclError
impl Debug for DbDeclError
Source§impl Display for DbDeclError
impl Display for DbDeclError
impl Eq for DbDeclError
Source§impl Error for DbDeclError
impl Error for DbDeclError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DbDeclError
impl PartialEq for DbDeclError
impl StructuralPartialEq for DbDeclError
Auto Trait Implementations§
impl Freeze for DbDeclError
impl RefUnwindSafe for DbDeclError
impl Send for DbDeclError
impl Sync for DbDeclError
impl Unpin for DbDeclError
impl UnsafeUnpin for DbDeclError
impl UnwindSafe for DbDeclError
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.