Skip to main content

LintCapture

Struct LintCapture 

Source
pub struct LintCapture { /* private fields */ }
Expand description

Read-only observation owned by one invocation, retaining private mutation provenance.

Implementations§

Source§

impl LintCapture

Source

pub fn entities(&self) -> &[Entity]

Source

pub fn notes(&self) -> &[Note]

Source

pub fn edges(&self) -> &[InspectedLintEdge]

Source§

impl LintCapture

Source

pub async fn apply_fixes( &self, registry: &VerbRegistry, token: &NamespaceToken, report: LintReport, ) -> RuntimeResult<(LintReport, Vec<FixReceipt>)>

Prepare every candidate before the first domain write, then commit each independent guarded action once. No failure is retried or replayed.

Auto Trait Implementations§

§

impl !RefUnwindSafe for LintCapture

§

impl !UnwindSafe for LintCapture

§

impl Forget for LintCapture

§

impl Freeze for LintCapture

§

impl Move for LintCapture

§

impl Send for LintCapture
where RawVecInner: Send, NodeRef<Owned, String, Value, LeafOrInternal>: Send, BoxRaw<(String, Value)>: Send, NonZero<i32>: Send, Utc: Send, Arc<ReceiptCapability>: Send, Arc<ReceiptCutover>: Send, Arc<StorageBackend>: Send, Arc<RwLock<HashMap<String, CachedNamedVectorStores>>>: Send, Arc<ConfigLockLedger>: Send, Arc<Domain>: Send, Arc<Handle>: Send, Arc<Handle>: Send, Arc<ExternalOwner>: Send, NodeRef<Owned, String, Value, LeafOrInternal>: Send, BoxRaw<(String, Value)>: Send, NodeRef<Owned, String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>, LeafOrInternal>: Send, BoxRaw<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>: Send, NodeRef<Owned, String, Arc<dyn ChannelSendRoute>, LeafOrInternal>: Send, BoxRaw<(String, Arc<dyn ChannelSendRoute>)>: Send, Arc<dyn Gate>: Send, NodeRef<Owned, String, GitWriteActorConfig, LeafOrInternal>: Send, BoxRaw<(String, GitWriteActorConfig)>: Send, NodeRef<Owned, String, GitWriteRepositoryConfig, LeafOrInternal>: Send, BoxRaw<(String, GitWriteRepositoryConfig)>: Send, Arc<CodeMapRegistry>: Send, Arc<OutboundEmailPolicy>: Send, Arc<[PathBuf]>: Send, Arc<[OpenedDiagnosticBackend]>: Send, Arc<Mutex<Vec<LateOpenedDiagnosticBackend>>>: Send, Arc<RwLock<EmbedderRegistry>>: Send, Arc<str>: Send, Arc<RwLock<Vec<EdgeEndpointRule>>>: Send, Arc<RwLock<Vec<String>>>: Send, Arc<RwLock<Vec<NoteKindEntry>>>: Send, Arc<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>: Send, Arc<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>: Send, Arc<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>: Send, Arc<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>: Send, Arc<RwLock<Vec<(String, Arc<dyn KindHook>)>>>: Send, Arc<OnceLock<Arc<BlobHydrator>>>: Send, Arc<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>: Send, RawTable<(Uuid, Vec<usize>)>: Send, RawTable<(Uuid, Entity)>: Send, RawTable<(Uuid, Note)>: Send, RawTable<(Uuid, Edge)>: Send, RawTable<(Uuid, SqlStatement)>: Send,

§

impl Sync for LintCapture
where RawVecInner: Sync, NodeRef<Owned, String, Value, LeafOrInternal>: Sync, BoxRaw<(String, Value)>: Sync, NonZero<i32>: Sync, Utc: Sync, Arc<ReceiptCapability>: Sync, Arc<ReceiptCutover>: Sync, Arc<StorageBackend>: Sync, Arc<RwLock<HashMap<String, CachedNamedVectorStores>>>: Sync, Arc<ConfigLockLedger>: Sync, Arc<Domain>: Sync, Arc<Handle>: Sync, Arc<Handle>: Sync, Arc<ExternalOwner>: Sync, NodeRef<Owned, String, Value, LeafOrInternal>: Sync, BoxRaw<(String, Value)>: Sync, NodeRef<Owned, String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>, LeafOrInternal>: Sync, BoxRaw<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>: Sync, NodeRef<Owned, String, Arc<dyn ChannelSendRoute>, LeafOrInternal>: Sync, BoxRaw<(String, Arc<dyn ChannelSendRoute>)>: Sync, Arc<dyn Gate>: Sync, NodeRef<Owned, String, GitWriteActorConfig, LeafOrInternal>: Sync, BoxRaw<(String, GitWriteActorConfig)>: Sync, NodeRef<Owned, String, GitWriteRepositoryConfig, LeafOrInternal>: Sync, BoxRaw<(String, GitWriteRepositoryConfig)>: Sync, Arc<CodeMapRegistry>: Sync, Arc<OutboundEmailPolicy>: Sync, Arc<[PathBuf]>: Sync, Arc<[OpenedDiagnosticBackend]>: Sync, Arc<Mutex<Vec<LateOpenedDiagnosticBackend>>>: Sync, Arc<RwLock<EmbedderRegistry>>: Sync, Arc<str>: Sync, Arc<RwLock<Vec<EdgeEndpointRule>>>: Sync, Arc<RwLock<Vec<String>>>: Sync, Arc<RwLock<Vec<NoteKindEntry>>>: Sync, Arc<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>: Sync, Arc<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>: Sync, Arc<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>: Sync, Arc<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>: Sync, Arc<RwLock<Vec<(String, Arc<dyn KindHook>)>>>: Sync, Arc<OnceLock<Arc<BlobHydrator>>>: Sync, Arc<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>: Sync, RawTable<(Uuid, Vec<usize>)>: Sync, RawTable<(Uuid, Entity)>: Sync, RawTable<(Uuid, Note)>: Sync, RawTable<(Uuid, Edge)>: Sync, RawTable<(Uuid, SqlStatement)>: Sync,

§

impl Unpin for LintCapture
where *const u8 is !null: Unpin, *const LeafNode<String, Value> is !null: Unpin, Box<(String, Value)>: Unpin, NonZero<i32>: Unpin, Utc: Unpin, Arc<ReceiptCapability>: Unpin, Arc<ReceiptCutover>: Unpin, Arc<StorageBackend>: Unpin, Arc<RwLock<HashMap<String, CachedNamedVectorStores>>>: Unpin, Arc<ConfigLockLedger>: Unpin, Arc<Domain>: Unpin, Arc<Handle>: Unpin, Arc<Handle>: Unpin, Arc<ExternalOwner>: Unpin, *const LeafNode<String, Value> is !null: Unpin, Box<(String, Value)>: Unpin, *const LeafNode<String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>> is !null: Unpin, Box<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>: Unpin, *const LeafNode<String, Arc<dyn ChannelSendRoute>> is !null: Unpin, Box<(String, Arc<dyn ChannelSendRoute>)>: Unpin, Arc<dyn Gate>: Unpin, *const LeafNode<String, GitWriteActorConfig> is !null: Unpin, Box<(String, GitWriteActorConfig)>: Unpin, *const LeafNode<String, GitWriteRepositoryConfig> is !null: Unpin, Box<(String, GitWriteRepositoryConfig)>: Unpin, Arc<CodeMapRegistry>: Unpin, Arc<OutboundEmailPolicy>: Unpin, Arc<[PathBuf]>: Unpin, Arc<[OpenedDiagnosticBackend]>: Unpin, Arc<Mutex<Vec<LateOpenedDiagnosticBackend>>>: Unpin, Arc<RwLock<EmbedderRegistry>>: Unpin, Arc<str>: Unpin, Arc<RwLock<Vec<EdgeEndpointRule>>>: Unpin, Arc<RwLock<Vec<String>>>: Unpin, Arc<RwLock<Vec<NoteKindEntry>>>: Unpin, Arc<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>: Unpin, Arc<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>: Unpin, Arc<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>: Unpin, Arc<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>: Unpin, Arc<RwLock<Vec<(String, Arc<dyn KindHook>)>>>: Unpin, Arc<OnceLock<Arc<BlobHydrator>>>: Unpin, Arc<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>: Unpin,

§

impl UnsafeUnpin for LintCapture

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more