MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

Methodnew
Returns a new common module.
crates/core/src/host/module_common.rs:54
Methodnew
(db: &Identity)
crates/core/src/host/module_host.rs:260
Methodnew
(wasm: WasmConfig, v8: V8Config)
crates/core/src/host/host_controller.rs:135
Methodnew
(data_dir: Option<&ServerDataDir>, runtime_config: WasmConfig)
crates/core/src/host/wasmtime/mod.rs:51
Methodnew
(module: InstancePre<WasmInstanceEnv>)
crates/core/src/host/wasmtime/wasmtime_module.rs:54
Methodnew
()
crates/core/src/host/wasmtime/pooling_stack_creator.rs:81
Methodnew
(database_identity: Identity)
crates/core/src/host/wasmtime/wasm_instance_env.rs:161
Methodnew
(config: V8Config)
crates/core/src/host/v8/mod.rs:144
Methodnew
Creates a new serializer into `scope`.
crates/core/src/host/v8/ser.rs:30
Methodnew
Returns a new string that is known to be ASCII and static.
crates/core/src/host/v8/string.rs:36
Methodnew
Creates a new deserializer from `input` in `scope`.
crates/core/src/host/v8/de.rs:41
Methodnew
Returns a new error that keeps a prefix of `string` and records its length.
crates/core/src/host/v8/error.rs:81
Methodnew
(_call: AbiCall)
crates/core/src/host/wasm_common/instrumentation.rs:39
Methodnew
( mcc: ModuleCreationContext, module: T, )
crates/core/src/host/wasm_common/module_host_actor.rs:382
Methodnew
(tx: &'a TxId, data: &'a TxData, indexes: &QueriedTableIndexIds)
crates/core/src/subscription/tx.rs:91
Methodnew
()
crates/core/src/subscription/row_list_builder_pool.rs:54
Methodnew
(db_identity: &Identity)
crates/core/src/subscription/module_subscription_actor.rs:83
Methodnew
Create a new subscription plan to be cached
crates/core/src/subscription/module_subscription_manager.rs:80
Methodnew
Create an adaptive receiver around a Tokio unbounded channel. `baseline_linger` is the linger window used after a cold wakeup or any linger miss. `ma
crates/core/src/util/adaptive_recv.rs:41
Methodnew
()
crates/core/src/util/notify_once.rs:13
Methodnew
(major: u16, minor: u16)
crates/lib/src/lib.rs:69
Methodnew
(owner: Identity, caller: Identity)
crates/lib/src/identity.rs:69
Methodnew
Create a new, empty `RawModuleDefBuilder`.
crates/lib/src/db/raw_def/v9.rs:604
Methodnew
Creates a new [RawConstraintDefV8] with the specified parameters. # Parameters `constraint_name`: The name of the constraint. `constraints`: The con
crates/lib/src/db/raw_def/v8.rs:244
Methodnew
Create a new, empty `RawModuleDefV10Builder`.
crates/lib/src/db/raw_def/v10.rs:695
Methodnew
(workload: &WorkloadType, db: &Identity)
crates/engine/src/metrics.rs:132
Methodnew
Create a new [SnapshotWorker]. The handle is only partially initialized, as it is lacking the [SnapshotDatabaseState]. This allows control code to [S
crates/engine/src/snapshot.rs:73
Methodnew
( database_identity: Identity, owner_identity: Identity, inner: Locking, persi
crates/engine/src/relational_db.rs:146
Methodnew
Convenience constructor of a [Persistence] that handles boxing.
crates/engine/src/persistence.rs:116
Methodnew
(tx: &'a T, auth: &'a AuthCtx)
crates/engine/src/sql/ast.rs:74
Methodnew
()
crates/cli/src/spacetime_config.rs:279
Methodnew
(con: Connection)
crates/cli/src/api.rs:54
Methodnew
()
crates/cli/src/subcommands/repl.rs:102
Methodnew
()
crates/cli/src/subcommands/subscribe.rs:371
Methodnew
(replica_id: u64, host_controller: HostController)
crates/client-api/src/lib.rs:99
Methodnew
(creds: SpacetimeCreds, claims: SpacetimeIdentityClaims)
crates/client-api/src/auth.rs:94
Methodnew
(database: Identity, client_id: ClientActorId, config: WebSocketOptions)
crates/client-api/src/routes/subscribe.rs:323
Methodnew
()
crates/client-api/src/routes/database.rs:1724
Methodnew
Returns a new slot index based on `idx`.
crates/table/src/pointer_map.rs:33
Methodnew
Returns a new page pool with `max_size` bytes rounded down to the nearest multiple of 64 KiB. if no size is provided, a default of 1 page is used.
crates/table/src/page_pool.rs:44
Methodnew
Returns a view into the bytes of the row at `offset` in `page` typed at `ty`.
crates/table/src/eq.rs:79
Methodnew
Returns a new header for a granule storing `len` bytes and with the next granule in the list located `next`.
crates/table/src/var_len.rs:219
Methodnew
(max_rows_in_page: usize)
crates/table/src/page.rs:185
Methodnew
Allocates a new bit set capable of holding `bits` number of bits.
crates/table/src/fixed_bit_set.rs:175
Methodnew
( reserved_bit: bool, page_index: PageIndex, page_offset: PageOffset, squashed
crates/table/src/indexes.rs:284
Methodnew
Creates a new empty table with the given `schema` and `squashed_offset`.
crates/table/src/table.rs:353
Methodnew
Returns a new fixed capacity index.
crates/table/src/table_index/unique_direct_fixed_cap_index.rs:35
Methodnew
(length: usize, bytes: [u8; N])
crates/table/src/table_index/bytes_key.rs:202
Methodnew
Returns a new index with keys being of `key_type` and the index possibly `is_unique`.
crates/table/src/table_index/mod.rs:1054
Methodnew
Returns an iterator drawing entries from `outer`.
crates/table/src/table_index/same_key_entry.rs:171
Methodnew
()
crates/table/src/table_index/unique_direct_index.rs:130
Methodnew
Returns a new iterator over the possibly found row pointer.
crates/table/src/table_index/unique_btree_index.rs:153
Methodnew
(bytes: impl Into<Box<[u8]>>)
crates/commitlog/benches/common/mod.rs:7
Methodnew
(head: TxOffsetIndexMut, opts: Options)
crates/commitlog/src/segment.rs:316
Methodnew
Create a commitlog repository which stores segments in the directory `root`. `root` must name an extant, accessible, writeable directory.
crates/commitlog/src/repo/fs.rs:96
Methodnew
(total_space: u64)
crates/commitlog/src/repo/mem.rs:36
Methodnew
()
crates/commitlog/src/repo/mem/segment.rs:36
Methodnew
(max_len: u64)
crates/commitlog/src/tests/partial.rs:259
Methodnew
(ctx: T)
crates/pg/src/pg_server.rs:333
Methodnew
(accessor: Ident, kind: IndexType, canonical_name: Option<LitStr>)
crates/bindings-macro/src/table.rs:58
Methodnew
(sender: Identity)
crates/bindings/src/lib.rs:941
Methodnew
(name: &str)
crates/bindings/src/log_stopwatch.rs:7
Methodnew
(timestamp: Timestamp)
crates/bindings/src/http.rs:118
Methodnew
(iter: sys::RowIter)
crates/bindings/src/table.rs:1408
Methodnew
(seed: u64)
crates/runtime/src/sim/rng.rs:46
Methodnew
(seed: u64)
crates/runtime/src/sim/executor/mod.rs:27
Methodnew
()
crates/runtime/src/sim/executor/task.rs:73
Methodnew
(handle: TimeHandle, duration: Duration)
crates/runtime/src/sim/time/sleep.rs:34
Methodnew
()
crates/runtime/src/sim/time/mod.rs:33
Methodnew
(w1: W1, w2: W2)
crates/sats/src/buffer.rs:359
Methodnew
Returns a context ([`Typespace`]) with the given `types`.
crates/sats/src/typespace.rs:77
Methodnew
Returns a new `SumValue` with the given `tag` and `value`.
crates/sats/src/sum_value.rs:21
Methodnew
Wraps a value in `SerdeWrapper`.
crates/sats/src/lib.rs:59
Methodnew
Constructs the entry wrapper using the writer `fmt`.
crates/sats/src/satn.rs:114
Methodnew
Returns a forwarder based on the provided unnamed product serializer.
crates/sats/src/ser.rs:398
Methodnew
Returns a sum type with these possible `variants`.
crates/sats/src/sum_type.rs:71
Methodnew
Returns a new [`NoneAccess`].
crates/sats/src/de.rs:898
Methodnew
Returns an element with the given `name` and `algebraic_type`.
crates/sats/src/product_type_element.rs:28
Methodnew
Returns a product type with the given `elements` as its factors.
crates/sats/src/product_type.rs:84
Methodnew
Returns a sum type variant with an optional `name` and `algebraic_type`.
crates/sats/src/sum_type_variant.rs:27
Methodnew
Creates a new `RawIdentifier` from a string.
crates/sats/src/raw_identifier.rs:17
Methodnew
Returns a `ValueDeserializer` with `val` as the input for deserialization.
crates/sats/src/algebraic_value/de.rs:17
Methodnew
Returns a serializer using the given `writer`.
crates/sats/src/bsatn/ser.rs:15
Methodnew
Returns a deserializer using the given `reader`.
crates/sats/src/bsatn/de.rs:13
Methodnew
Wraps a Serde deserializer.
crates/sats/src/de/serde.rs:19
Methodnew
Returns a wrapped serializer.
crates/sats/src/ser/serde.rs:18
Methodnew
()
crates/durability/src/lib.rs:256
Methodnew
()
crates/sqltest/src/space.rs:59
Methodnew
()
crates/sqltest/src/pg.rs:75
Methodnew
()
crates/sqltest/src/sqlite.rs:48
Methodnew
(table: TableId, col: ColId)
crates/schema/src/relation.rs:22
Methodnew
(id: Identifier)
crates/schema/src/table_name.rs:15
Methodnew
Validates that the input string is a valid identifier. Currently, this rejects non-canonicalized identifiers. Eventually, it will be changed to canon
crates/schema/src/identifier.rs:48
Methodnew
(id: Identifier)
crates/schema/src/reducer_name.rs:11
Methodnew
Create a new `ScopedTypeName` from a scope and a name.
crates/schema/src/def.rs:1504
Methodnew
( table_id: TableId, table_name: TableName, view_info: Option<ViewDefInfo>, co
crates/schema/src/schema.rs:189
Methodnew
Create a new `RawColumnName`.
crates/schema/src/error.rs:305
Methodnew
( raw_name: RawIdentifier, product_type_ref: AlgebraicTypeRef, product_type: &'a Produ
crates/schema/src/def/validate/v9.rs:944
Methodnew
(ex: ExplicitNames)
crates/schema/src/def/validate/v10.rs:28
Methodnew
(colors: ColorScheme, choice: ColorChoice)
crates/schema/src/auto_migrate/termcolor_formatter.rs:62
← previousnext →22,501–22,600 of 27,764, ranked by callers