pub struct DescriptorDeps<'a> {
pub bundles_ks: &'a KeyspaceHandle,
pub blob_dir: &'a Path,
pub keyspaces: Keyspaces<'a>,
pub seed_store: &'a Arc<dyn SeedStore>,
pub config: &'a RwLock<AppConfig>,
pub store: Option<&'a Store>,
}Expand description
Borrowed deps for the descriptor ops. Avoids dragging the full
AppState into the op layer (it’s a server-runtime type)
while keeping the call surface tractable.
Lifetime: 'a ties to the calling AppState (or VtaState)
since these are short-lived per-request references.
Fields§
§bundles_ks: &'a KeyspaceHandle§blob_dir: &'a Path§keyspaces: Keyspaces<'a>§seed_store: &'a Arc<dyn SeedStore>§config: &'a RwLock<AppConfig>§store: Option<&'a Store>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DescriptorDeps<'a>
impl<'a> !UnwindSafe for DescriptorDeps<'a>
impl<'a> Freeze for DescriptorDeps<'a>
impl<'a> Send for DescriptorDeps<'a>
impl<'a> Sync for DescriptorDeps<'a>
impl<'a> Unpin for DescriptorDeps<'a>
impl<'a> UnsafeUnpin for DescriptorDeps<'a>
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
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, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.