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