SwiftstructSecureVectorStore

struct SecureVectorStore.DeviceMemorySecureVectorStorage

Members 12

  1. fieldlet fileHandler: SecureVectorStore.DeviceMemoryFileHandling+0x0
  2. fieldlet ops: SecureVectorStore.StorageOperations+0x28
  3. funcclear() throws -> ()
  4. funccount() throws -> Int
  5. funcdrop(key: Foundation.UUID) throws -> ()
  6. funcexists(key: Foundation.UUID) -> Bool
  7. funclistKeys() throws -> [Foundation.UUID]
  8. funcloadMapped<A>(keys: [Foundation.UUID], size: UInt64, prepare: (Foundation.UUID) throws -> A?, body: (A, UnsafeMutableRawPointer) throws -> ()) throws -> ()
  9. funcsaveMapped(key: Foundation.UUID, size: UInt64) throws -> ()
  10. funcstart() throws -> ()
  11. funcstop() -> ()
  12. funcwithMappedMemory<A>(size: UInt64, _: (UnsafeMutableRawPointer) throws -> A) throws -> A
struct DeviceMemorySecureVectorStorage {
    let fileHandler: any SecureVectorStore.DeviceMemoryFileHandling
    let ops: SecureVectorStore.StorageOperations

    func withMappedMemory<A>(size: Swift.UInt64, _: (_: Swift.UnsafeMutableRawPointer) throws -> A) throws -> A
    func loadMapped<A>(keys: [Foundation.UUID], size: Swift.UInt64, prepare: (_: Foundation.UUID) throws -> A?, body: (A, Swift.UnsafeMutableRawPointer) throws -> ()) throws
    func saveMapped(key: Foundation.UUID, size: Swift.UInt64) throws
    func drop(key: Foundation.UUID) throws
    func stop()
    func clear() throws
    func count() throws -> Swift.Int
    func start() throws
    func exists(key: Foundation.UUID) -> Swift.Bool
    func listKeys() throws -> [Foundation.UUID]
}