pub struct Keyspaces<'a> {
pub keys: &'a KeyspaceHandle,
pub acl: &'a KeyspaceHandle,
pub contexts: &'a KeyspaceHandle,
pub did_templates: &'a KeyspaceHandle,
pub audit: &'a KeyspaceHandle,
pub imported: &'a KeyspaceHandle,
}Expand description
Shared bundle of borrowed keyspace handles passed to operations that need several keyspaces at once.
The struct is a pure field bundle — the constructors that borrow it from a
concrete AppState / VtaState live in vta-service (they know those
types), so this stays free of any vta-service dependency.
Fields§
§keys: &'a KeyspaceHandle§acl: &'a KeyspaceHandle§contexts: &'a KeyspaceHandle§did_templates: &'a KeyspaceHandle§audit: &'a KeyspaceHandle§imported: &'a KeyspaceHandleAuto Trait Implementations§
impl<'a> !RefUnwindSafe for Keyspaces<'a>
impl<'a> !UnwindSafe for Keyspaces<'a>
impl<'a> Freeze for Keyspaces<'a>
impl<'a> Send for Keyspaces<'a>
impl<'a> Sync for Keyspaces<'a>
impl<'a> Unpin for Keyspaces<'a>
impl<'a> UnsafeUnpin for Keyspaces<'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.