pub struct KnowledgeAdmission { /* private fields */ }Expand description
One policy snapshot used for a complete knowledge operation. Text is never rewritten in a persisted record: any blocked or changed string withholds the complete record so its version identity and lineage remain truthful.
Implementations§
Source§impl KnowledgeAdmission
impl KnowledgeAdmission
pub fn capture(root: &str) -> Result<KnowledgeAdmission, String>
pub fn admits_archive_value(&self, value: &Value) -> bool
Auto Trait Implementations§
impl Forget for KnowledgeAdmission
impl Freeze for KnowledgeAdmissionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DestinationConstraintV1>: Freeze,
PhantomData<DestinationV1>: Freeze,
PhantomData<String>: Freeze,
*const ArcInner<IntelligenceRuntimeConfig> is !null: Freeze,
PhantomData<ArcInner<IntelligenceRuntimeConfig>>: Freeze,
*const ArcInner<ActivePolicy> is !null: Freeze,
PhantomData<ArcInner<ActivePolicy>>: Freeze,
impl Move for KnowledgeAdmission
impl RefUnwindSafe for KnowledgeAdmissionwhere
Atomic<usize>: RefUnwindSafe,
Pool<Cache, Box<dyn Fn() -> Cache + Send + UnwindSafe + Sync + RefUnwindSafe>>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
impl Send for KnowledgeAdmission
impl Sync for KnowledgeAdmission
impl Unpin for KnowledgeAdmission
impl UnsafeUnpin for KnowledgeAdmissionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DestinationConstraintV1>: UnsafeUnpin,
PhantomData<DestinationV1>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ArcInner<IntelligenceRuntimeConfig> is !null: UnsafeUnpin,
PhantomData<ArcInner<IntelligenceRuntimeConfig>>: UnsafeUnpin,
*const ArcInner<ActivePolicy> is !null: UnsafeUnpin,
PhantomData<ArcInner<ActivePolicy>>: UnsafeUnpin,
impl UnwindSafe for KnowledgeAdmissionwhere
RawVecInner: UnwindSafe,
Arc<IntelligenceRuntimeConfig>: UnwindSafe,
Arc<ActivePolicy>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more