Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ functions
Functions
27,764 in github.com/clockworklabs/SpacetimeDB
⨍
Functions
27,764
◇
Types & classes
9,245
Method
from
(i: Identity)
crates/client-api/src/routes/identity.rs:49
Method
from
(db: Database)
crates/client-api/src/routes/database.rs:582
Method
from
(value: HeaderValue)
crates/client-api/src/util/flat_csv.rs:87
Method
from
(index: ColliderSlotIndex)
crates/table/src/pointer_map.rs:125
Method
from
(value: &'a Box<str>)
crates/table/src/table_index/mod.rs:357
Method
from
((offset, txdata): (u64, T))
crates/commitlog/src/segment.rs:545
Method
from
(value: Varchar<N>)
crates/commitlog/src/varchar.rs:81
Method
from
(meta: CommittedMeta)
crates/commitlog/src/commitlog.rs:503
Method
from
( StoredCommit { min_tx_offset, epoch, n, records,
crates/commitlog/src/commit.rs:248
Method
from
(IndexFile { inner }: IndexFile<Key>)
crates/commitlog/src/index/indexfile.rs:272
Method
from
(inner: Segment)
crates/commitlog/src/repo/mem/segment.rs:327
Method
from
(err: PgError)
crates/pg/src/pg_server.rs:55
Method
from
(algo: IndexAlgo<'_>)
crates/bindings/src/rt.rs:785
Method
from
(timeout: TimeDuration)
crates/bindings/src/http.rs:775
Method
from
(err: TryInsertError<Tbl>)
crates/bindings/src/table.rs:257
Method
from
(handle: tokio::task::AbortHandle)
crates/runtime/src/lib.rs:118
Method
from
(err: DecodeError)
crates/sats/src/buffer.rs:62
Method
from
(system_time: SystemTime)
crates/sats/src/timestamp.rs:252
Method
from
(value: &u8)
crates/sats/src/sum_value.rs:44
Method
from
(value: T)
crates/sats/src/algebraic_value.rs:123
Method
from
(col_pos: ColId)
crates/sats/src/product_value.rs:66
Method
from
(fields: Box<[SumTypeVariant]>)
crates/sats/src/sum_type.rs:238
Method
from
(value: Uuid)
crates/sats/src/uuid.rs:252
Method
from
(ty: AlgebraicType)
crates/sats/src/layout.rs:637
Method
from
(hex: &HexString<N>)
crates/sats/src/hex.rs:40
Method
from
(elements: X)
crates/sats/src/convert.rs:11
Method
from
(value: AlgebraicType)
crates/sats/src/product_type_element.rs:58
Method
from
(fields: Box<[ProductTypeElement]>)
crates/sats/src/product_type.rs:268
Method
from
(d: Duration)
crates/sats/src/time_duration.rs:110
Method
from
(algebraic_type: AlgebraicType)
crates/sats/src/sum_type_variant.rs:70
Method
from
(s: &'static str)
crates/sats/src/raw_identifier.rs:59
Method
from
(value: ArrayValueBuilder)
crates/sats/src/algebraic_value/ser.rs:400
Method
from
(inner: watch::Receiver<Option<TxOffset>>)
crates/durability/src/lib.rs:83
Method
from
(id: TableName)
crates/schema/src/table_name.rs:40
Method
from
(id: Identifier)
crates/schema/src/identifier.rs:126
Method
from
(id: ReducerName)
crates/schema/src/reducer_name.rs:39
Method
from
(val: ModuleDef)
crates/schema/src/def.rs:494
Method
from
(inner: Arc<TableSchema>)
crates/schema/src/schema.rs:74
Method
from
(ty: AlgebraicType)
crates/schema/src/error.rs:196
Method
from
(policy: CaseConversionPolicy)
crates/schema/src/def/validate/v10.rs:66
Method
from
(value: C)
crates/primitives/src/col_list.rs:57
Method
from
(value: U256)
crates/bench/benches/index.rs:298
Method
from
(value: SubscriptionUnsupported)
crates/sql-parser/src/parser/errors.rs:117
Method
from
(value: ProjectExpr)
crates/sql-parser/src/ast/mod.rs:58
Method
from
(inner: StatsInner)
crates/snapshot/src/remote.rs:89
Method
from
(value: Row<'a>)
crates/execution/src/lib.rs:211
Method
from
(plan: MutationPlan)
crates/execution/src/dml.rs:24
Method
from
(plan: ProjectListPlan)
crates/execution/src/pipelined.rs:32
Method
fromMillis
(millis: number)
crates/bindings-typescript/src/lib/time_duration.ts:64
Method
fromStringOrNull
(str: string)
crates/bindings-typescript/src/lib/connection_id.ts:94
Method
from_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
Method
from_algebraic_value
(key_type: &AlgebraicType, index: &TypedIndex, value: &'a AlgebraicValue)
crates/table/src/table_index/mod.rs:476
Method
from_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
Method
from_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
Method
from_algo
(algo: &IndexAlgorithm)
crates/table/src/table_index/mod.rs:1041
Method
from_arg_or_env
(repo: Option<String>)
tools/ci/src/cla_assistant.rs:140
Method
from_args
(args: &ArgMatches)
crates/cli/src/subcommands/init.rs:140
Method
from_auth
(auth: &AuthCtx)
crates/execution/src/lib.rs:32
Method
from_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
Method
from_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
Method
from_be_slice
Create an `ConnectionId` from a slice, assumed to be in big-endian format.
crates/lib/src/connection_id.rs:134
Method
from_boxed
(boxed: Box<[T]>)
crates/data-structures/src/slim_slice.rs:418
Method
from_boxed_slice
(storage: Box<[B]>)
crates/table/src/fixed_bit_set.rs:113
Method
from_boxed_unchecked
Clippy doesn't seem to consider unsafe code here.
crates/data-structures/src/slim_slice.rs:323
Method
from_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
Method
from_bsatn
(index: &TypedIndex, ty: &AlgebraicType, mut bytes: &'a [u8])
crates/table/src/table_index/mod.rs:546
Method
from_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
Method
from_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
Method
from_byte
(b: u8)
crates/sats/src/hex.rs:122
Method
from_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
Method
from_byte_array
(data: [u8; HASH_SIZE])
crates/sats/src/hash.rs:28
Function
from_bytes
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/serialization.h:114
Method
from_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
Method
from_bytes
(bytes: &[u8])
crates/core/src/subscription/execution_unit.rs:26
Method
from_bytes
(bytes: &Bytes)
crates/table/benches/page.rs:80
Method
from_bytes
Construct a `Body` consisting of `bytes`.
crates/bindings/src/http.rs:715
Method
from_bytes_be
Create UUID from big-endian byte array
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:368
Method
from_bytes_key
(key: BytesKey<N>, ty: &AlgebraicType)
crates/table/src/table_index/bytes_key.rs:496
Method
from_caught
Turns a caught JS exception in `scope` into a [`JSError`].
crates/core/src/host/v8/error.rs:582
Method
from_char
(value: char)
crates/sqltest/src/space.rs:21
Method
from_chrono
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:37
Method
from_chrono
Conversion from std::chrono
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/timestamp.h:55
Method
from_chrono
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:37
Method
from_chrono
Conversion from std::chrono
crates/bindings-cpp/include/spacetimedb/bsatn/timestamp.h:55
Method
from_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
Method
from_code
Create a code error from a code.
crates/core/src/host/v8/syscall/v1.rs:308
Method
from_code
(code: u16)
crates/bindings-sys/src/lib.rs:1006
Method
from_connection_id
crates/bindings-cpp/include/spacetimedb/auth_ctx.h:152
Method
from_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
Method
from_connection_id_opt
crates/bindings-cpp/include/spacetimedb/auth_ctx.h:134
Method
from_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
Method
from_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
Method
from_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
Method
from_current_stack_trace
Construct a backtrace from `scope`.
crates/core/src/host/v8/error.rs:379
Method
from_def
(table_id: TableId, constraint: RawConstraintDefV8)
crates/schema/src/schema.rs:1475
Method
from_delta
(delta: Option<Delta>)
crates/execution/src/pipelined.rs:487
Method
from_disk_usage
(bytes_stored: u64, storage_period: Duration)
crates/client-api-messages/src/energy.rs:29
Method
from_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
Method
from_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
Method
from_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
← previous
next →
20,301–20,400 of 27,764, ranked by callers