pub enum AtomicDeleteKind {
Entity {
specific: Option<String>,
},
Note {
specific: Option<String>,
},
Edge,
}Expand description
Caller-supplied delete-kind expectation, resolved via the canonical
resolve_kind_spec at the kkernel --atomic seam. khive-runtime must
not depend on khive-pack-kg (packs depend on the runtime, not the other
way around), so this is a plain substrate-level shape rather than
khive_pack_kg::handlers::KindSpec itself: the kkernel seam does the
pack-aware resolve_kind_spec resolution (which needs a VerbRegistry,
unreachable from this crate) and passes down only what prepare_delete
needs to enforce the mismatch check.
delete admits kind="edge" per ATOMIC_ADMISSIBLE_VERBS, hence the
Edge variant. Event/Proposal remain rejected at the kkernel seam
(not v1-admissible for atomic delete at all).
Variants§
Auto Trait Implementations§
impl Freeze for AtomicDeleteKind
impl RefUnwindSafe for AtomicDeleteKind
impl Send for AtomicDeleteKind
impl Sync for AtomicDeleteKind
impl Unpin for AtomicDeleteKind
impl UnsafeUnpin for AtomicDeleteKind
impl UnwindSafe for AtomicDeleteKind
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