MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

Methodfrom
(i: Identity)
crates/client-api/src/routes/identity.rs:49
Methodfrom
(db: Database)
crates/client-api/src/routes/database.rs:582
Methodfrom
(value: HeaderValue)
crates/client-api/src/util/flat_csv.rs:87
Methodfrom
(index: ColliderSlotIndex)
crates/table/src/pointer_map.rs:125
Methodfrom
(value: &'a Box<str>)
crates/table/src/table_index/mod.rs:357
Methodfrom
((offset, txdata): (u64, T))
crates/commitlog/src/segment.rs:545
Methodfrom
(value: Varchar<N>)
crates/commitlog/src/varchar.rs:81
Methodfrom
(meta: CommittedMeta)
crates/commitlog/src/commitlog.rs:503
Methodfrom
( StoredCommit { min_tx_offset, epoch, n, records,
crates/commitlog/src/commit.rs:248
Methodfrom
(IndexFile { inner }: IndexFile<Key>)
crates/commitlog/src/index/indexfile.rs:272
Methodfrom
(inner: Segment)
crates/commitlog/src/repo/mem/segment.rs:327
Methodfrom
(err: PgError)
crates/pg/src/pg_server.rs:55
Methodfrom
(algo: IndexAlgo<'_>)
crates/bindings/src/rt.rs:785
Methodfrom
(timeout: TimeDuration)
crates/bindings/src/http.rs:775
Methodfrom
(err: TryInsertError<Tbl>)
crates/bindings/src/table.rs:257
Methodfrom
(handle: tokio::task::AbortHandle)
crates/runtime/src/lib.rs:118
Methodfrom
(err: DecodeError)
crates/sats/src/buffer.rs:62
Methodfrom
(system_time: SystemTime)
crates/sats/src/timestamp.rs:252
Methodfrom
(value: &u8)
crates/sats/src/sum_value.rs:44
Methodfrom
(value: T)
crates/sats/src/algebraic_value.rs:123
Methodfrom
(col_pos: ColId)
crates/sats/src/product_value.rs:66
Methodfrom
(fields: Box<[SumTypeVariant]>)
crates/sats/src/sum_type.rs:238
Methodfrom
(value: Uuid)
crates/sats/src/uuid.rs:252
Methodfrom
(ty: AlgebraicType)
crates/sats/src/layout.rs:637
Methodfrom
(hex: &HexString<N>)
crates/sats/src/hex.rs:40
Methodfrom
(elements: X)
crates/sats/src/convert.rs:11
Methodfrom
(value: AlgebraicType)
crates/sats/src/product_type_element.rs:58
Methodfrom
(fields: Box<[ProductTypeElement]>)
crates/sats/src/product_type.rs:268
Methodfrom
(d: Duration)
crates/sats/src/time_duration.rs:110
Methodfrom
(algebraic_type: AlgebraicType)
crates/sats/src/sum_type_variant.rs:70
Methodfrom
(s: &'static str)
crates/sats/src/raw_identifier.rs:59
Methodfrom
(value: ArrayValueBuilder)
crates/sats/src/algebraic_value/ser.rs:400
Methodfrom
(inner: watch::Receiver<Option<TxOffset>>)
crates/durability/src/lib.rs:83
Methodfrom
(id: TableName)
crates/schema/src/table_name.rs:40
Methodfrom
(id: Identifier)
crates/schema/src/identifier.rs:126
Methodfrom
(id: ReducerName)
crates/schema/src/reducer_name.rs:39
Methodfrom
(val: ModuleDef)
crates/schema/src/def.rs:494
Methodfrom
(inner: Arc<TableSchema>)
crates/schema/src/schema.rs:74
Methodfrom
(ty: AlgebraicType)
crates/schema/src/error.rs:196
Methodfrom
(policy: CaseConversionPolicy)
crates/schema/src/def/validate/v10.rs:66
Methodfrom
(value: C)
crates/primitives/src/col_list.rs:57
Methodfrom
(value: U256)
crates/bench/benches/index.rs:298
Methodfrom
(value: SubscriptionUnsupported)
crates/sql-parser/src/parser/errors.rs:117
Methodfrom
(value: ProjectExpr)
crates/sql-parser/src/ast/mod.rs:58
Methodfrom
(inner: StatsInner)
crates/snapshot/src/remote.rs:89
Methodfrom
(value: Row<'a>)
crates/execution/src/lib.rs:211
Methodfrom
(plan: MutationPlan)
crates/execution/src/dml.rs:24
Methodfrom
(plan: ProjectListPlan)
crates/execution/src/pipelined.rs:32
MethodfromMillis
(millis: number)
crates/bindings-typescript/src/lib/time_duration.ts:64
MethodfromStringOrNull
(str: string)
crates/bindings-typescript/src/lib/connection_id.ts:94
Methodfrom_algebraic_value
Serializes `av` to a [`BytesKey<N>`]. It's assumed that `av` will fit into `N` bytes when serialized into BSATN. The method panics otherwise.
crates/table/src/table_index/bytes_key.rs:259
Methodfrom_algebraic_value
(key_type: &AlgebraicType, index: &TypedIndex, value: &'a AlgebraicValue)
crates/table/src/table_index/mod.rs:476
Methodfrom_algebraic_value_prefix
Decodes `prefix` in `AlgebraicValue` form to a [`RangeCompatBytesKey<N>`] by serializing the prefix and massaging.
crates/table/src/table_index/bytes_key.rs:428
Methodfrom_algebraic_value_prefix_and_endpoint
Decodes `prefix` and `endpoint` in `AlgebraicValue` form to a [`RangeCompatBytesKey<N>`] by serializing over both and massaging if they fit into the k
crates/table/src/table_index/bytes_key.rs:454
Methodfrom_algo
(algo: &IndexAlgorithm)
crates/table/src/table_index/mod.rs:1041
Methodfrom_arg_or_env
(repo: Option<String>)
tools/ci/src/cla_assistant.rs:140
Methodfrom_args
(args: &ArgMatches)
crates/cli/src/subcommands/init.rs:140
Methodfrom_auth
(auth: &AuthCtx)
crates/execution/src/lib.rs:32
Methodfrom_be_byte_array
Create an `Identity` from a BIG-ENDIAN byte array. This method is the correct choice if you have converted the bytes of a hexadecimal-formatted `Iden
crates/lib/src/identity.rs:172
Methodfrom_be_byte_array
Create an `ConnectionId` from a big-endian byte array. This method is the correct choice if you have converted the bytes of a hexadecimal-formatted `
crates/lib/src/connection_id.rs:92
Methodfrom_be_slice
Create an `ConnectionId` from a slice, assumed to be in big-endian format.
crates/lib/src/connection_id.rs:134
Methodfrom_boxed
(boxed: Box<[T]>)
crates/data-structures/src/slim_slice.rs:418
Methodfrom_boxed_slice
(storage: Box<[B]>)
crates/table/src/fixed_bit_set.rs:113
Methodfrom_boxed_unchecked
Clippy doesn't seem to consider unsafe code here.
crates/data-structures/src/slim_slice.rs:323
Methodfrom_bsatn
Decodes `bytes` in BSATN to a [`BytesKey<N>`] by copying over the bytes if they fit into the key.
crates/table/src/table_index/bytes_key.rs:221
Methodfrom_bsatn
(index: &TypedIndex, ty: &AlgebraicType, mut bytes: &'a [u8])
crates/table/src/table_index/mod.rs:546
Methodfrom_bsatn_prefix
Decodes `prefix` in BSATN to a [`RangeCompatBytesKey<N>`] by copying over `prefix` and massaging if they fit into the key.
crates/table/src/table_index/bytes_key.rs:356
Methodfrom_bsatn_prefix_and_endpoint
Decodes `prefix` and `endpoint` in BSATN to a [`RangeCompatBytesKey<N>`] by copying over both and massaging if they fit into the key.
crates/table/src/table_index/bytes_key.rs:376
Methodfrom_byte
(b: u8)
crates/sats/src/hex.rs:122
Methodfrom_byte_array
Create an `Identity` from a LITTLE-ENDIAN byte array. If you are parsing an `Identity` from a string, you probably want `from_be_byte_array` instead.
crates/lib/src/identity.rs:157
Methodfrom_byte_array
(data: [u8; HASH_SIZE])
crates/sats/src/hash.rs:28
Functionfrom_bytes
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/serialization.h:114
Methodfrom_bytes
Create a [`Program`] from its raw bytes. This computes the hash over `bytes`, so prefer constructing [`Program`] directly if the hash is already know
crates/datastore/src/traits.rs:518
Methodfrom_bytes
(bytes: &[u8])
crates/core/src/subscription/execution_unit.rs:26
Methodfrom_bytes
(bytes: &Bytes)
crates/table/benches/page.rs:80
Methodfrom_bytes
Construct a `Body` consisting of `bytes`.
crates/bindings/src/http.rs:715
Methodfrom_bytes_be
Create UUID from big-endian byte array
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:368
Methodfrom_bytes_key
(key: BytesKey<N>, ty: &AlgebraicType)
crates/table/src/table_index/bytes_key.rs:496
Methodfrom_caught
Turns a caught JS exception in `scope` into a [`JSError`].
crates/core/src/host/v8/error.rs:582
Methodfrom_char
(value: char)
crates/sqltest/src/space.rs:21
Methodfrom_chrono
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:37
Methodfrom_chrono
Conversion from std::chrono
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/timestamp.h:55
Methodfrom_chrono
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:37
Methodfrom_chrono
Conversion from std::chrono
crates/bindings-cpp/include/spacetimedb/bsatn/timestamp.h:55
Methodfrom_claims
Derives an identity from a [JWT] `issuer` and a `subject`. [JWT]: https://en.wikipedia.org/wiki/JSON_Web_Token
crates/lib/src/identity.rs:196
Methodfrom_code
Create a code error from a code.
crates/core/src/host/v8/syscall/v1.rs:308
Methodfrom_code
(code: u16)
crates/bindings-sys/src/lib.rs:1006
Methodfrom_connection_id
crates/bindings-cpp/include/spacetimedb/auth_ctx.h:152
Methodfrom_connection_id
Creates an [`AuthCtx`] that reads the [JWT] for the given connection id. [JWT]: https://en.wikipedia.org/wiki/JSON_Web_Token
crates/bindings/src/lib.rs:1593
Methodfrom_connection_id_opt
crates/bindings-cpp/include/spacetimedb/auth_ctx.h:134
Methodfrom_connection_id_opt
Creates an [`AuthCtx`] both for cases where there's a [`ConnectionId`] and for when there isn't.
crates/bindings/src/lib.rs:1563
Methodfrom_counter_v7
* Generate a UUID v7 using a monotonic counter, a timestamp, and random bytes. * * The UUID v7 is structured as follows: * ``` *
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:130
Methodfrom_counter_v7
Generate a UUID `v7` using a monotonic counter from 0 to 2^31-1, a timestamp, and 4 random bytes. The counter will wrap around on overflow. The UUID
crates/sats/src/uuid.rs:126
Methodfrom_current_stack_trace
Construct a backtrace from `scope`.
crates/core/src/host/v8/error.rs:379
Methodfrom_def
(table_id: TableId, constraint: RawConstraintDefV8)
crates/schema/src/schema.rs:1475
Methodfrom_delta
(delta: Option<Delta>)
crates/execution/src/pipelined.rs:487
Methodfrom_disk_usage
(bytes_stored: u64, storage_period: Duration)
crates/client-api-messages/src/energy.rs:29
Methodfrom_duration
Convert `Duration` to `FunctionBudget` using the conversion factor [`FunctionBudget::PER_EXECUTION_SEC`]. Returns `None` on overflow, which means tha
crates/client-api-messages/src/energy.rs:168
Methodfrom_duration
Return a [`TimeDuration`] which represents the same span as `duration`. Panics if `duration.as_micros` overflows an `i64`
crates/sats/src/time_duration.rs:73
Methodfrom_duration_since_unix_epoch
Return a [`Timestamp`] which is [`Timestamp::UNIX_EPOCH`] plus `duration`. Panics if `duration.as_micros` overflows an `i64`
crates/sats/src/timestamp.rs:73
← previousnext →20,301–20,400 of 27,764, ranked by callers