MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / from_string

Function from_string

crates/data-structures/src/slim_slice.rs:1380–1382  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

1378/// Panics when `str.len() > u32::MAX`.
1379#[inline]
1380pub fn from_string(s: &str) -> SlimStrBox {
1381 from_str(s).into()
1382}
1383
1384// =============================================================================
1385// Mutable string slice reference

Callers 15

SPACETIMEDB_HTTP_HANDLERFunction · 0.85
various_boxed_strsFunction · 0.85
compile_queriesMethod · 0.85
get_allFunction · 0.85
compile_plan_with_authFunction · 0.85
compile_read_only_queryFunction · 0.85
TEST_CASEFunction · 0.85
SPACETIMEDB_HTTP_HANDLERFunction · 0.85
SPACETIMEDB_HTTP_HANDLERFunction · 0.85
SPACETIMEDB_HTTP_HANDLERFunction · 0.85
SPACETIMEDB_HTTP_HANDLERFunction · 0.85

Calls 1

from_strFunction · 0.85

Tested by 11

TEST_CASEFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68
SPACETIMEDB_HTTP_HANDLERFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…