pub enum ResolveErrorCode {
UndeclaredInstance,
SubsetViolation,
LimitNotReceivable,
LimitWidening,
}Expand description
The closed code set for §8 grammar violations. These are config-boot
codes (they refuse kian serve as config validation does everywhere
in kian-cli, §6.2 boundary case 2), not plugin/refuse codes —
no instance owns a grammar error.
Variants§
UndeclaredInstance
A set entry (or a limits: key) that is not a declared
sidecars.plugins instance.
SubsetViolation
worker.<id>.use is not a subset of scopes.server.
LimitNotReceivable
A limits: key naming an instance that worker cannot receive.
LimitWidening
A worker limit that widens the manifest bound (§8.2 invariant 2).
Implementations§
Trait Implementations§
Source§impl Clone for ResolveErrorCode
impl Clone for ResolveErrorCode
impl Copy for ResolveErrorCode
Source§impl Debug for ResolveErrorCode
impl Debug for ResolveErrorCode
impl Eq for ResolveErrorCode
Source§impl PartialEq for ResolveErrorCode
impl PartialEq for ResolveErrorCode
impl StructuralPartialEq for ResolveErrorCode
Auto Trait Implementations§
impl Forget for ResolveErrorCode
impl Freeze for ResolveErrorCode
impl Move for ResolveErrorCode
impl RefUnwindSafe for ResolveErrorCode
impl Send for ResolveErrorCode
impl Sync for ResolveErrorCode
impl Unpin for ResolveErrorCode
impl UnsafeUnpin for ResolveErrorCode
impl UnwindSafe for ResolveErrorCode
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